unfix_unfix_a_multi_value_symbol_.htm
Navigation: Templates > Template Language Reference > Complete Alpha Listing >====== #UNFIX (unfix a multi-value symbol) ====== | |
#UNFIX( symbol )
#UNFIX | Unfixes a multi-valued symbol. |
symbol | A multi-valued symbol. |
The #UNFIX statement unfiXEs the current value of the multi-valued symbol. If the unfiXEd symbol is referenced outside a #FOR loop structure, it has no value and you cannot reference any other symbols dependent upon the multi-valued symbol.
Example:
#SET(%OneFile,'HEADER') #! Put values into two User-defined symbols
#SET(%TwoFile,'DETAIL')
#FIX(%File,%OneFile) #! %File refers to 'HEADER'
#FOR(%File) #! %File iteratively refers to all file names
#FIX(%File,%TwoFile) #! %File refers to 'DETAIL'
#ENDFOR
#! %File refers to 'HEADER' again
#UNFIX(%File) #! %File refers to no spcific value
unfix_unfix_a_multi_value_symbol_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1