User Tools

Site Tools


deleteall_delete_multiple_multi_valued_symbol_instances_.htm
Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #DELETEALL (delete multiple multi-valued symbol instances) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

#DELETEALL( symbol, expression )

blk2blue.jpg

#DELETEALL Deletes the values from specified instances of a multi-valued user-defined symbol.
symbol A multi-valued user-defined symbol.
expression An expression that defines the instances to delete.

The #DELETEALL statement deletes all values from the symbol that meet the expression.

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

#DELETEALL(%ProcFilesPrefix,'BAK')    #!Delete all BAK instances

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

See Also:     #DECLARE ,#ADD

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