The following applies to simple S variables:
variablename = <structured-name 1..20>
The following applies to composite S variables:
variablename = <composed-name 1..255>
The name is formatted in accordance with the SDF data type <composed-name>. The following restrictions should be borne in mind:
Names of structured S variables are formed in accordance with <structured-name> and can be up to 20 characters long.
SDF-P only supports special characters in variable names internally. The dollar sign ($) is reserved as the first character for TPR variables (task-privileged) and the hash character (#) is reserved as the identifier for composite variables (arrays and lists).
The string SYS at the start of a name is reserved for system components.
Keywords which are used as operators or Boolean constants are not permitted as variable names. This applies to:
AND, DIV, EQ, FALSE, GE, GT, LE, LT, MOD, NE, NO, NOT, OFF, ON, OR, TRUE, XOR and YES