![Godex EZ-1000 Plus Скачать руководство пользователя страница 27](http://html.mh-extra.com/html/godex/ez-1000-plus/ez-1000-plus_programmers-manual_2237774027.webp)
V#ADD,name,size,prompt - Store variable with a name
Syntax
V#ADD,name,size,prompt
Parameters
name= descriptive name
size= number of character
prompt= prompt of variable
Description
The name of the variable can be defined by user.
Example ~MDELF,aaa
^Faaa
^Q50,0,3
^AD
^L
V#ADD,weight,10,Weight
V#ADD,date,15,Date
AE,7,46,1,1,0,0,Weight is ^(weight)
AE,7,86,1,1,0,0,Date is ^(date)
E
^Kaaa
16 kg
11/26/2004
E
~P1
Weight is 16 kg
Date is 11/26/2004
V#ADDCHKSUM,x - Add modulus 10 check code
Syntax
V#ADDCHKSUM,x
Parameters x=
variable
Description
Add the modulus 10 check code to x
Example
Add modulus 10 check code to V00
~MDELF,test
^Ftest
^Q60,0,0
^L
V00,16,Prompt
V#ADDCHKSUM,V00
AE,47,57,1,1,0,0,Date:^V00
E
^Ktest
111222333
E
~P1
Print result
Enter Variable value
111222333
Print result
1112223332
V#LINKDB,x,y - Set a Variable name for dBase data
Syntax
V#LINKDB,x,y
Parameter
x= Column name of database
y= Variable
Description
Before using this command, a dBase data should opened first, and then can link dBase data
to print designate data out.
Example
Please refer to page40
26