V#strsub,x,y,first,length, Vt,x,y,x_mul,y_mul,gap,rotationinverse,data – GoDEX EZPL User Manual

Page 58

Advertising
background image

53

V#STRSUB,x,y,first,length - Copy part of Variable value

Syntax

V#STRSUB,x,y,first,length

Parameters

x = target variable

y = source variable

first = the position of first character

length = the number of characters

Description

Copy part of y value to x

Example

Copy year, month and day values

respectively from a whole date variable.

~MDELF,test

^Ftest

^Q60,0,0

^L

V00,16,PromptV0

V01,16,PromptV1

V02,16,PromptV2

V03,16,PromptV2

V#STRSUB,V01,V00,5,2

V#STRSUB,V02,V00,8,2

V#STRSUB,V03,V00,0,4

V#SET,UNPROMPT,V01

V#SET,UNPROMPT,V02

V#SET,UNPROMPT,V03

AE,47,57,1,1,0,0,Date:^V00

AE,38,115,1,1,0,0,Month:^V01

AE,38,155,1,1,0,0,Day:^V02

AE,38,205,1,1,0,0,Year:^V03

E

^Ktest

2005/01/31

E

~P1

Print result:

Date:2005/01/31

Month:01

Day:31

Year:2005

Vt,x,y,x_mul,y_mul,gap,rotationInverse,data - Print with downloaded character sets

Syntax

Vt,x,y,x_mul,y_mul,gap,rotationInverse,data

Parameter

t = the font name; from A ~ Z

To use UNICODE please setup as below:

E  UTF8 L  UTF16 LO H  UTF16 HI ( UTF16 characters should be end up with 4

0x00)

data = Data string (up to 239 characters).

Description

Download Bit-Mapped font to memory. All parameters are all the same with text

command

Example

VA,5,10,1,1,1,0,data

The name of font “A”

Advertising