A Command – Simple Expresssions in Data Fields
Description: The advanced function of the A command al
-
lows addition and subtraction to be performed
on constant and variable values in flash printers.
Syntax: Ap
1
,p
2
,p
3
,p
4
,p
5
,p
6
,p
7
,"DATA"[p
8
p
9
p
10
…]
Parameters: For the p
1
- p
7
and “DATA” parameters -
See A command, page 2-4.
p
8
= Required. Must be a variable data field
number, eg. V00, V01 etc.
p
9
= Required. Operator, + or –
p
10
= Required. Variable data field number
or constant value.
Valid Number Ranges:
Constant=0to2147483647
Variable=0to2147483647
Result = -2147483648 to 2147483647
❏ The Expression must start with a variable
field.
❏
The character field length defined for the first
variable in the expression will be used to for
-
mat the result. If the result is of a greater
length than the defined character length,
then the result field will contain ‘X’s.
❏
A syntax error will be generated during form
store if the constant value is too large.
❏
If an error occurs during the evaluation of the
expression, the resultant field will be filled
with ‘X’s.
G-4 980009-001 Rev.F
Appendix G - Advanced Programming
Comments to this Manuals