Returns the type of a member of an object
// Core function, no LOADLIB necessary STRING FUNCTION GetMemberType(OBJECT obj, STRING membername)
Object to check
Name of the member to get the type of
A string describing the type of the member
GetMemberType returns the type of a member of an object. Possible returns values are: VARIABLE - for variable members FUNCTION - for function members PROPERTY - for properties NONE - if the member does not exist or the object does not exist PRIVATE - if the member does exist, but is not accessible through this object variable. Note, this function treats @a this just as any other object variable.
// Get the type of an object member OBJECTTYPE MyObjectType < INTEGER avar >; PRINT(GetMemberType(NEW MyObjectType, "AVAR"));