Subscript Rules (Local and Global)

From FreeM Wiki
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.