clear_clear_single_valued_symbol_.htm
Navigation: Templates > Template Language Reference > Complete Alpha Listing >====== #CLEAR (clear single-valued symbol) ====== | |
#CLEAR( symbol )
#CLEAR | Removes the value from a single-valued user-defined symbol. |
symbol | A single-valued user-defined symbol. |
The #CLEAR statement removes the value from a single-valued user-defined symbol. This statement is approximately the same as using #SET to assign a null value to the symbol, except it is more efficient.
Example:
#DECLARE(%SomeSymbol) #!Declare symbol
#SET(%SomeSymbol,'Value') #!Assign a value
#!%SomeSymbol now contains: 'Value'
#CLEAR(%SomeSymbol) #!Clear value
#!%SomeSymbol now contains: ''
clear_clear_single_valued_symbol_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1