1. Home
  2. Suffix

Suffix

Elements of pointers can be referred to by suffixes. Each suffix takes the form of an identifier list enclosed in square brackets; the list can contain numbers, scalars, or variates to reference an element or elements by number, or texts or quoted strings to reference by label. A null list within the brackets is taken to mean all the elements of the pointer in turn. Where a pointer has other pointers as its elements, their elements can be referred to in the same way, and so the original identifier may be followed by several suffix lists each contained in its own pair of square brackets; these define a list of elements, one for each combination of an element from each suffix list, taking the combinations in an order in which the last list cycles through its elements fastest, then the next to last list, and so on.

Updated on February 25, 2019

Was this article helpful?