Delimit – CognitiveTPG DLXi User Manual
Page 137

S T O R I N G D A T A I N T H E P R I N T E R M E M O R Y
DELIMIT
Function Specifies
the
delimiter used to isolate variables
within command lines.
Explicit Form
DELIMIT C
Parameters
C
Delimiter character. This is a single
ASCII character, and must have an
ASCII value greater than decimal
32, that is, no control characters or
spaces are allowed. You must
declare the delimiter if you use
variables. There is no default
delimiter character.
Comments
Define the delimiter character before using any
variables in a label format. The delimiter
character must precede and follow every variable
and its associated parameters.
NOTE: Choose the delimiter character carefully. Avoid
using a character that you will need for other purposes
within the label format. Especially avoid using the
percent sign (%) as a delimiter. It is used within some
system variables, making its use as a delimiter
inconvenient in many applications.
See also
Example
The following label format declares the @ sign as
the variable delimiter, then uses the system
variable TIME to print the current time:
! 0 100 590 1
DELIMIT @
TIME GET
TEXT 2 20 The time is @TIME %X@
END
128
Revision F, January 2012, CognitiveTPG