Next: , Previous: Unary Minus, Up: Expressions


6.4.16 The Operator `.'

This operator may only be used in the following ways:

record.symbol
This yields the attribute value of the attribute of record whose name is symbol. If there is no attribute in record whose name is symbol, the expression yields the special symbol nil.
list.number
This yields the element of list at position number. If there is no element at position number in list, the expression yields the special symbol nil.
value.list
Here, list must be a list <e1, e2, ...> of symbols and/or numbers. This expression serves as an abbreviation for value.e1.e2....