clear

action

Syntax
clear shelf


Purpose

You can use clear to remove all the items from a shelf:

  global integer foo variable initial { 1, 2, 3, 4, 5 }
  
  process
     clear foo

This action is not allowed on shelves with a fixed size, or on shelves currently the subject of a repeat over.

Related Syntax
Related Concepts