Navigation: Templates > Template Language Reference > Built-in Template Procedures >====== INSTANCE(return current instance number) ====== | |
INSTANCE( symbol )
INSTANCE | Returns the current instance number to which the symbol is fixed. |
Symbol | A multi-valued symbol. |
The INSTANCE procedure returns the current instance number to which the symbol is fixed. If no #FIX or #FOR has been issued for the symbol, INSTANCE returns zero (0).
Return Data Type: LONG
Example:
#DELETE(%Control,INSTANCE(%Control)) #!Delete current instance
See Also: