Monarch 9460 Printer User Manual


 
Command Reference 5-29
CONCAT
Purpose Appends the contents of one field to another.
Syntax CONCAT
source
,
destination
[ , [
invalid label
] [ ,
valid label
] ]
Process The CONCAT command copies
source
's contents to the end of
destination
's
contents.
Source
's contents do not change.
Source
is the data to append
. Destination
is the resulting data
.
These variables
can be one of the following:
Source
and
Destination
Description
INPUT Input Buffer
Logical Field Name
(TEMP1)
Temporary Buffer
Field
Logical Field Name (LU1) Lookup Buffer Field
Logical Field Name (PR1) Printer Buffer Field
Logical Field Name
(Field1) [Index]
Array Buffer Field
Source
only:
String
Number
ASCII string delimited
by double quotes
A number prefixed by
the number sign (#)
Destination
only:
SCRATCH
Scratch Buffer Field
You can concatenate numeric fields and alphanumeric fields in any combination.
Optional Fields Invalid and valid labels are discussed in “Script Flow" at the beginning of this
chapter.
Example
This example appends the SKU to the end of BC_FIELD.
CONCAT SKU,BC_FIELD