swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax   Related Concepts  
action  

clear

 
 

Syntax

clear  shelf-name


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

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)
   save-clear
   repeat over, #item, #last, #first
 
Related Concepts
   Shelves
   Variables and Constants
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.