V#set,thouformat,v00ab[c, V#set,unprompt,x - disable variable prompt, V#strcpy,x,y - copy all of variable data – GoDEX EZPL User Manual

Page 57: V#set,unprompt,x, V#strcpy,x,y

Advertising
background image

52

V#SET,THOUFORMAT,V00ab[c]

Syntax

V#SET,THOUFORMAT,V00ab[c]

Parameters

a = the symbol will be displayed at Thousand point

b = the symbol will be displayed at Decimal point

c = the symbol will be displayed at End of number

Description

The symbol will be displayed at Thousand point, Decimal point and End of number

Example

Send command :

^Q50,0,0

~MDELF,TEST

^FTEST

^L

V00,10,V00

V01,10,V01

V02,10,V02

V#SET,UNPROMPT,V02

V#SET,FLOATFORMAT,2,0,V02

V#SET,THOUFORMAT,V02,,,

V#OP+,V02,V00,V01

R22,14,774,378,10,10

AH,100,050,1,1,0,0,V00 = ^V00

AH,100,150,1,1,0,0,V01 = ^V01

AH,100,250,1,1,0,0,V02 = ^V02

E

^KTEST

1411.12

1333.23

~P1

E

Print result :

V00 = 1411.12

V01 = 1333.23

V02 = 2,744,35,

V#SET,UNPROMPT,x - Disable variable prompt

Syntax

V#SET,UNPROMPT,x

Parameters

x = variable

Description

This command can set the variable without prompt.

Example

V#OP+,V00,V01,V02

V#SET,UNPROMPT,V00

Use doesn’t need to input the value of V00

V#STRCPY,x,y - Copy all of variable data

Syntax

V#STRCPY,x,y

Parameters

x = target variable

y = source variable

Description

Copy all data of y to x

Example

V#STRCPY,V00,V01

Copy all of V01 data to V00

Advertising