The names for user defined character strings begin with a '$'. These string variables represent a string of alpha characters which the user has supplied during the machining session or whilst code generating. The string will be output by the Code Generator.
During compilation of a %MACRO, if a user-defined variable is encountered which has not been declared, then the following error message will appear:
Variable has not been declared in {line of file in error}
User-defined variable names may be of any length but must consist solely of alphanumerics (A-Z and 0-9). It is only necessary to declare user-defined variables, as system variables are predefined. Any attempt to declare variables not starting with either a '#' or a '$' will result in the Code Generator compiler error:
'Invalid declaration in {line in error}'