Navigation:  Templates > Template Language Reference > Built-in Template Procedures >====== INSTANCE(return current instance number) ====== Previous pageReturn to chapter overviewNext page

INSTANCE( symbol )

blk2blue.jpg

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:

Built-In Template Procedures