OBJINFO()

OBJINFO()

Top  Previous  Next

 

The OBJINFO() function returns information about an object variable.

 

 

Format

 

OBJINFO(var, key)

 

where

 

varis the name of the object variable.

 

keyidentifies the information to be returned:

0

OI$ISOBJ

Returns True if var is an object, False if not.

1

OI$CLASS

Returns the class module catalogue name associated with the object.

2

OI$NAMES

Returns names of all public items in the object as a dynamic array, one field per class in inheritance name scan order divided into five values:

V1 = Class catalogue name

V2 = Subvalue mark delimited list of public functions in this class

V3 = Subvalue mark delimited list of public subroutines in this class

V4 = Subvalue mark delimited list of public variables in this class

V5 = Subvalue mark delimited list of directly inherited classes

 

 

The OBJINFO() function returns information about an object variable based on the key value supplied.

 

 

See also:

CLASS, OBJECT