18.13.  Subscripts

The following cmavo is discussed in this section:

xi

XI

subscript

Subscripting is a general Lojban feature, not used only in mekso; there are many things that can logically be subscripted, and grammatically a subscript is a free modifier, usable almost anywhere. In particular, of course, mekso variables (lerfu strings) can be subscripted:

Example 18.98. 

li xy.boixici du li xy.boixipa su'i xy.boixire
The-number x-sub-3 equals the-number x-sub-1 plus x-sub-2.
x 3 = x 1 + x 2

Subscripts always begin with the flag xi (of selma'o XI). xi may be followed by a number, a lerfu string, or a general mekso expression in parentheses:

Example 18.99. 

xy.boixino
x 0

Example 18.100. 

xy.boixiny.
x n

Example 18.101. 

xy.boixi vei ny. su'i pa [ve'o]
x (n+1)

Note that subscripts attached directly to lerfu words (variables) generally need a boi terminating the variable. Free modifiers, of which subscripts are one variety, generally require the explicit presence of an otherwise elidable terminator.

There is no standard way of handling superscripts (other than those used as exponents) or for subscripts or superscripts that come before the main expression. If necessary, further cmavo could be assigned to selma'o XI for these purposes.

The elidable terminator for a subscript is that for a general number or lerfu string, namely boi . By convention, a subscript following another subscript is taken to be a sub-subscript:

Example 18.102. 

xy.boi xi by.boi xi vo
x b 4

See Example 18.123 for the standard method of specifying multiple subscripts on a single object.

More information on the uses of subscripts may be found in Section 19.6 .