Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
The indexing operators are [] and ``.". The [] operator is used to index a vector or an array with a numeric subscript, or a record with a string subscript. The result of the indexing for a vector or array operand has the same type as the initial vector or array. A record has a type which is either that of the specified field, or record if more than one field is specified. (See § 3.1.4, § 3.4.4, § 3.4.3, § 3.6, and § 3.7.2 for details.)
The ``." operator retrieves a particular field from a record.
a.nameis equivalent to
a["name"](See § 3.4.2, page .)