INSTANCE(return current instance number)

Top  Previous  Next

 

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:

Built-In Template Procedures