swirl
Guide to OmniMark 7   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
 
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:00 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.