User Tools

Site Tools


purge_delete_all_single_or_multi_valued_symbol_instances_.htm
Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #PURGE (delete all single or multi-valued symbol instances) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

#PURGE( symbol )

blk2blue.jpg

#PURGE Deletes the values from all instances of a user-defined symbol.
symbol A user-defined symbol.

The #PURGE statement deletes all values from the symbol. If there are any symbols dependent upon the symbol, they are also cleared. If the symbol is dependent upon a multi-valued symbol, all instances of that dependent symbol are purged for all instances of the symbol upon which it is dependent.

Example:

#DECLARE(%ProcFilesPrefix),MULTI        #!Declare multi-valued symbol

#ADD(%ProcFilesPrefix,'SAV')            #!Add a value

#ADD(%ProcFilesPrefix,'BAK')            #!Add a value

#ADD(%ProcFilesPrefix,'PRE')            #!Add a value

#ADD(%ProcFilesPrefix,'BAK')            #!Add a value

#ADD(%ProcFilesPrefix,'QUE')            #!Add a value

#!%ProcFilesPrefix contains: SAV, BAK, PRE, BAK, QUE

#PURGE(%ProcFilesPrefix)                #!Delete all instances

See Also:     #DECLARE ,#ADD

purge_delete_all_single_or_multi_valued_symbol_instances_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1