EasyManuals Logo
Home>TSC>Printer>M23

TSC M23 Programming Manual

TSC M23
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 #129 background imageLoading...
Page #129 background image
TSC AUTO ID Technology Co., Ltd. 117 Copyright 2013 All Rights Reserved.
EOF( )
Description
This function is used to detect an opened download file to see whether it has reached the end of file.
Syntax
EOF (File Handle)
Parameter
Description
File handle
Either 0 or 1
Return value
Description
None-zero
End of file
0
Not end of file
Example
Sample code
DOWNLOAD "DATA",16,COMPUTER
2000
DOWNLOAD "DEMO.BAS"
SIZE 3,3
GAP 0.0,0
DIRECTION 1
CLS
OPEN "DATA",0
SEEK 0,0
Y=110
TEXT 10,10,"3",0,1,1,"*****EOF TEST*****"
:A
Temp$=""
READ 0,ITEM$,P
TEXT 10,Y,"2",0,1,1,ITEM$+"$"+STR$(P)+"[EOF(0)="+STR$(EOF(0))+"]"
BARCODE 10,Y+25,"39",40,1,0,2,4,"PRICE-"+STR$(P)
Y=Y+100
IF EOF(0)=0 THEN GOTO A
PRINT 1
EOP
DEMO
Result
See Also
DOWNLOAD, EOP, OPEN, READ, SEEK

Table of Contents

Other manuals for TSC M23

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC M23 and is the answer not in the manual?

TSC M23 Specifications

General IconGeneral
BrandTSC
ModelM23
CategoryPrinter
LanguageEnglish

Related product manuals