Subscript Rules (Local and Global)
Jump to navigation
Jump to search
This article's contents should eventually be integrated into the FreeM Manual as part of the official, bundled documentation.
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.