V#addchksum43,x - add modulus 43 check code, V#linkdb,x,y - like a variable name for dbase data, V#opx,p1,p2,p3 - variable calculation – GoDEX EZPL User Manual
Page 54: V#linkdb,x,y, V#opx,p1,p2,p3
![background image](/manuals/736893/54/background.png)
49
V#ADDCHKSUM43,x - Add modulus 43 check code
Syntax
V#ADDCHKSUM43,x
Parameters
x = variable
Description
Add the modulus 43 check code to x
Example
Add modulus 43 check code to V00
~MDELF,test
^Ftest
^Q60,0,0
^L
V00,16,Prompt
V#ADDCHKSUM43,V00
AE,47,57,1,1,0,0,Date:^V00
E
^Ktest
111222334
E
~P1
Print result
Enter Variable value
111222333
Print result
111222334
V#LINKDB,x,y - Like a Variable name for dBase data
Syntax
V#LINKDB,x,y
Parameter
x = Column name of database
y = Variable
Description
Set a Variable name for dBase data. Before using this command, a dBase data
should opened first, and then can link dBase data to print designate data out.
The number of links is limited to 10.
V#OPx,p1,p2,p3 - Variable calculation
Syntax
V#OPx,p1,p2,p3
Parameters
x = +, -, *, /, % ; p1,p2,p3= variable
x = +, p1=p2+p3
x = -, p1=p2-p3
x = *, p1=p2*p3
x = /, p1=p2/p3
x = %, p1=p2%p3
Description
This command can calculate variables.
*Note: the calculation result will be rounded off to integer value.
Example
V#OP+,V00,V01,V02
V00=V01+V02
V#OP-,V00,V01,V02
V00=V01-V02
V#OP*,V00,V01,V02
V00=V01*V02
V#OP/,V00,V01,V02
V00=V01/V02
V#OP%,V00,V01,V02
V00=V01%V02