#UNFIX (unfix a multi-value symbol) 

Top  Previous  Next

 

#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