Sfairadora

  • Reference Guide

Identifiers and References

Identifiers

Names or identifiers are used to identify individual data items and other elements in the application. An identifier is a sequence of letters or digits; it can also contain an underscore ( _ ). The first character of an identifier must not be a digit. No other characters (spaces or punctuation marks) are permitted in identifiers. Identifiers may also contain letters with diacritical marks. The set of available letters with diacritical marks depends on the document code page (the code page is defined in the Settings document section). If the code page is likely to be changed (international application), it is recommended to use only standard characters without diacritical marks in identifiers.
Identifiers are case sensitive, so, for example, the data, Data, and DATA identifiers are different and cannot be used interchangeably to identify a single data item.
Examples of valid identifiers: i, table, _TAB, two_words, Bézier, label, R2D2.
Examples of invalid identifiers: 3Dspace (starts with a digit), two words (contains a space), pictures/portraits (contains a slash).

References

References identify components of compound data items (see the data types). Reference is a sequence of identifiers and/or numeric indexes separated by dots. A reference thus identifies, step by step, subordinated data components in a given data item. An empty reference (identifying the entire data item against which it is resolved) is represented by a period.
Example: document.data.table.1.name (references the current document, the data section, the table item, the row with the index 1 (i.e. the second row as rows are indexed from 0) and the name column).