113
MANUAL DO USUÁRIO DC-2000 / PROGRAMA WINTASKGEN - Revisão 1.5
4.3.3 CDV
Syntax:
Operator
Source Operand
Destination Operand
CDV
OPERAND1
OPERAND2
Description:
Verify OPERAND1' s data by CDV method. If it matches then the flag is set to EQ,
if not, then it is set to NE.
Operand Data Type:
OPERAND1
numeric variable
Examples:
Line No.
Operator
Source Operand
Destination
Operand
1
INP
*
2
CDV
*
3
JMP
EQ
5
4
JMP
UC
1
5
.
6
.
7
.
If we want to check the current data entry, we can use these macros.
4.3.4 CKD
Syntax:
Operator
Source Operand
Destination Operand
CKD
OPERAND1
Description:
Check if the OPERAND1 is the date format or not.
If OPERAND1 is in date format, the flag is set to EQ;
If OPERAND1 is not in date format, the flag is set to NE.
Operand Data Type:
OPERAND1
string variable
Examples:
In the verification process we define macros to reject data which is not in the
date format- MMDDYY.