EasyManuals Logo
Home>TSC>Printer>TTP-345

TSC TTP-345 Programming Manual

TSC TTP-345
252 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #151 background imageLoading...
Page #151 background image
TSC AUTO ID Technology Co., Ltd. 139 Copyright 2013 All Rights Reserved.
GOSUB…RETURN
Description
This command will branch to a subroutine, executing statements until “RETURN is reached.
Syntax
GOSUB LABEL
statement
END
:LABEL
statement
RETURN
Parameter
Description
LABEL
Beginning of the subroutine. The maximum length of the label is 8
characters.
Example
Sample code
DOWNLOAD "GOSUB1.BAS"
SIZE 4,3
GAP 0,0
DIRECTION 1
CLS
TEXT 10,10,"3",0,1,1,"GOSUB & RETURN COMMAND TEST"
GOSUB DR_BOX
PRINT 1
END
:DR_BOX
FOR I=21 TO 81 STEP 10
BOX 80+I,80+I,80+300-I,80+300-I,5
NEXT
RETURN
EOP
GOSUB1
Result
See Also
DOWNLOAD, EOP, END, GOTO

Table of Contents

Other manuals for TSC TTP-345

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC TTP-345 and is the answer not in the manual?

TSC TTP-345 Specifications

General IconGeneral
BrandTSC
ModelTTP-345
CategoryPrinter
LanguageEnglish

Related product manuals