Multiply - Monarch 9460 Programmer's Manual

Adk printer
Hide thumbs Also See for 9460:
Table of Contents

Advertisement

M U L T I P L Y
Purpose
Multiplies the contents of one field by the contents of another.
Syntax

MULTIPLY

valid label
[ ,
Process
The MULTIPLY command multiplies
product into
The maximum value for the
429,496,795.
The
Rule:
The
Optional Fields
Invalid
chapter.
Example
This example multiplies PRICE by TEMP1, inserting the product into TEMP1. If
TEMP1 overflows, control passes to *ERROR2. If TEMP1 does not overflow,
control passes to the next line.
MULTIPLY PRICE,TEMP1,*ERROR2
See Also
DIVIDE
INC
SUB
ADD
DEC
buffer-field1
] ]
buffer-field2
buffer-field
fields can be one the following:
Buffer-field1
2
and
INPUT
Logical Field Name
(TEMP1)
Logical Field Name (LU1)
Logical Field Name (PR1)
Logical Field Name
(Field1) [Index]
Buffer-field1
only:
Number
buffer-field
fields must be numeric.
and
valid labels
,
buffer-field2
[ , [
invalid label
buffer-field1
.
buffer-field1
buffer-field2
,
Description
Input Buffer
Temporary Buffer
Field
Lookup Buffer Field
Printer Buffer Field
Array Buffer Field
Number prefixed by a
number sign (#)
are discussed in "Script Flow" at the beginning of this
]
buffer-field2
by
, inserting the
, and the result is
Command Reference 5-63

Advertisement

Table of Contents
loading

Table of Contents