Using a Structure Member
The syntax EQUEL uses to refer to a structure member is the same as in Fortran:
structure.member{.member}
Syntax Notes:
• The structure member the above reference denotes must be a scalar value (integer, floating-point or character string). There can be any combination of arrays and structures, but the last object referenced must be a scalar value. Thus, the following references are all legal in an EQUEL statement, assuming they all translate to scalar values:
employee.sal
C Member of a structure
person(3).name
C Member of an element of an array
structure.mem2.mem3.age
C Deeply nested member
• In general, the preprocessor supports unambiguous and fully qualified structure member references.