EasyManua.ls Logo

GPRINTER GP-2120T - Goto

GPRINTER GP-2120T
81 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
THERMAL BARCODE PRINTER SERIES 58
56. GOTO
Description
This command is used to branch to a specified label. The label cannot
exceed 8 characters in length.
Syntax
GOTO LABEL
:LABEL
Parameter Description
None N/A
Example
DOWNLOAD "GOTO1.BAS"
SIZE 3,3
GAP 0.08,0
DENSITY 8
SPEED 4
DIRECTION 1
REFERENCE 0,0
SET PEEL OFF
CLS
A=0
TOTAL=0
:START
IF A<100 THEN
GOTO SUM
ELSE
GOTO PRTOUT
ENDIF
:SUM
A=A+1
TOTAL=TOTAL+A
GOTO START
:PRTOUT
B$="THE SUMMATION OF 1..100 IS "+STR$(TOTAL)
TEXT 10,100,"3",0,1,1,B$
PRINT 1
END
EOP
See Also
DOWNLOAD, EOP, END, GOSUBRETURN

Other manuals for GPRINTER GP-2120T

Related product manuals