Many InstantView® statements use expressions that describe access to data and methods of the objects in C++ syntax, allowing navigation through the objects:
- if the data member (name1) is an object, its member (name2) is accessed withIf name2 refers to a slot, this name must be known as a slot in the global dictionary, i.e. defined in the initialisation file (CLASSIX.INI).name1.name2
- If the data member is a pointer to an object, its member name2 is accessed withname1->name2
- the nth element of a collection name1 is referred to as the nth element of a collection name1 is referred to withand to a member (name2) of this element withname1[n]
and to a member (name2) of this element withwhere n is a natural number from 0 to 9 or a special variable a, b, ..., z. The values of these index variables are changed with SetIndex, IncrIndex and DecrIndex. calls of a parameterless member function can be placed anywhere (with return value Object or Collection)name1[n].name2
calls to a parameterless member function can be placed anywhere (with return value Object or Collection). at the end of the printout can be confirmed with
at the end of the expression can be ato the nth bit of an element of the type INTEGER, SHORT, CHAR, ENUMSHORT or ENUMCHAR can be accessed.name1[n]
For an element of the class CXB_MULTIPLE_STRING, the nth substring (the nth language) is accessed. If you do not want to change the data members directly, but via an access function, this function must appear as the last term of the printout:
If one does not want to change the data members directly, but via an access function, this function must appear as the last term of the expression:An access function is distinguished from a function according to (5) by the entry with signature sgnMA in the method dictionary.... ZFun()