| 
|||||||||
| 
 | 
|||||||||
| Related Syntax | Related Concepts | ||||||||
| action | clear | ||||||||
Syntax
clear shelf-name
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
You can clear several shelves at once, as follows:
clear foo & bar & baz
This function is not allowed on shelves with a fixed size, or on shelves currently the subject of a repeat over.
| 
Related Syntax &, and copy-clear save-clear repeat over, #item, #last, #first  | 
Related Concepts Shelves Variables  | 
| ---- |