swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax   Related Concepts  
action   copy-clear    

Syntax

  copy-clear shelf-type? shelf-name to shelf-name


Purpose

Copies the entire contents of one shelf to another of the same type (integer, switch stream, BCD, floating point), then clears the source shelf of all items. This action replaces the current contents of the destination shelf, and closes all streams on it. Open streams in the source shelf will still be open in the destination shelf.

Unlike the copy action, copy-clear requires that the source shelf be of variable size.

The destination shelf must be either of variable size or the same size as the source shelf. If it is variable with a maximum size, the maximum size must be greater than the size of the source shelf.

    Related Syntax
   copy
 
Related Concepts
   Shelves
 
----

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

Generated: August 11, 2000 at 3:07:03 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.