User Tools

Site Tools


clear_clear_single_valued_symbol_.htm
Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #CLEAR (clear single-valued symbol) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

#CLEAR( symbol )

blk2blue.jpg

#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: ''

See Also:     #DECLARE ,#ADD ,#FREE

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