
130
MANUAL DO USUÁRIO DC-2000 / PROGRAMA WINTASKGEN - Revisão 1.5
Line No.
Operator
Source Operand
Destination Op-
erand
1
SEL
PERSONALIZADO
2
SEK
1
3
SRH
1
HOTWORD
2.3.30 STR
Syntax:
Operator
Source Operand
Destination Operand
STR
OPERAND1
OPERAND2
Description:
Convert the data held in OPERAND1 to string type and store it in OPERAND2.
Operand Data Type:
OPERAND1: numeric constant, numeric variable
OPERAND2: string variable
Examples:
TEMPVAR is defined as a string variable; then.
Line No.
Operator
Source Operand
Destination
Operand
1
STR
12345
TEMP33
2.3.31 SUB
Syntax:
Operator
Source Operand
Destination Operand
SUB
OPERAND1
OPERAND2
Description:
Subtract OPERAND1 from OPERAND2 and store the result in OPERAND2.
Operand Data Type:
OPERAND1: numeric constant, numeric variable
OPERAND: numeric variable
Examples:
If TEMPVAR is defined as a numeric variable and the content is 20; then