120
MANUAL DO USUÁRIO DC-2000 / PROGRAMA WINTASKGEN - Revisão 1.5
4.3.14 INP
Syntax:
Operator
Source Operand
Destination Operand
INP
OPERAND1
Description:
Read data from the bar code scanner or keypad and store in OPERAND1. The
data format depends on the fields format setting. When OPERAND1 is a field
variable.
Operand Data Type:
OPERAND1
numeric variable, string variable, Field variable (field name)
Examples:
If TEMPVAR is defined as a numeric variable; then
Line No.
Operator
Source Operand
Destination Op-
erand
1
INP
TEMPVAR
2
CMP
TEMPVAR
1000
3
JMP
LT
5
4
.
5
.
If ITEM is defined as a field name; then
Line No.
Operator
Source Operand
Destination Op-
erand
1
INP
ITEM
2
MSG
"ITEM:"
1
3
MSG
ITEM
6
4
.
4.3.15 INX
Syntax:
Operator
Source Operand
Destination Operand
INX
OPERAND1
Description:
Get one character from the keypad and store in OPERAND1.The input data does
not display on the LCD.