Subscript Rules (Local and Global)

From FreeM Wiki
Revision as of 09:07, 6 September 2023 by Smw (talk | contribs) (Created page with "== Length Limitations == === Globals === * A global reference (that is, its name and the total character length of all of its subscripts) must be no longer than the smaller...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Length Limitations

Globals

  • A global reference (that is, its name and the total character length of all of its subscripts) must be no longer than the smaller of 255 characters or the value of ^$JOB($JOB,"GVN_NAME_SUB_LENGTH")
  • A single subscript must be no longer than the smaller of 255 characters or the value of ^$JOB($JOB,"GVN_SUB_LENGTH")

Locals

  • A local reference, including its name and the total character length of all its subscripts, must not exceed 255 characters


Illegal Characters for Subscripts

For both locals and globals, the following characters are illegal:

  • $C(0)
  • $C(129)
  • $C(130)

This was determined through empirical testing conducted by David Wicksell.