126
MANUAL DO USUÁRIO DC-2000 / PROGRAMA WINTASKGEN - Revisão 1.5
4.3.22 PUT
Syntax:
Operator
Source Operand
Destination Operand
PUT
OPERAND1
OPERAND2
Description:
Put OPERAND2' s data to the current field of the current record. The field
number is held in OPERAND1.
Operand Data Type:
OPERAND1
numeric constant, field name
OPERAND2
numeric constant, numeric variable, string constant, string variable
Examples:
We want to put the string "MYGROUP" in field 1 of the 10th record of the file
"CUSTOM.”
Line No.
Operator
Source Operand
Destination
Operand
1
SEL
PERSONALIZADO
2
SEK
10
3
PUT
1
"MEUGRUPO"
4.3.23 RCV
Syntax:
Operator
Source Operand
Destination Operand
RCV
OPERAND1
OPERAND2
Description:
Receive a string from the serial port, and store it in OPERAND2 in the period of
time specified in OPERAND1.
Operand Data Type:
OPERAND1
Time window in thousandths of a second as a numeric constant, numeric
variable range from 0 to 32767 (32.767 seconds)
OPERAND2
string variable
Examples: