Objectvar
This keyword gives access to the Nth properties of the class associated with a given instance ('N' given as a parameter). It might be important if a pointer to a class is sent to a program that will explore the properties of the class.
For a given instance called "MYINSTANCE", 'N' can be in the range (1,MYINSTANCE.objectnbs).
MYINSTANCE.objectvar(N)
Funprog DUMP_PROPERTIES(OBJ, TEXT)Value Instance OBJ Using OBJECTVariable Char TEXT()(1..)For I=1 to OBJ.objectnbsTEXT(I)=OBJ.objectvar(I)+": "+evalue("OBJ."+OBJ.objectvar(I))Next IEnd
For a complete example, see [Generic Object Dump Example](../api-guide/generic-object-dump-example.md).Structure, Instance, SetInstance, NewInstance, FreeInstance, FreeGroup, cast, null, objectnbs, objecttype.