EasyManuals Logo

TSC TDP-245 Plus Programming Manual

TSC TDP-245 Plus
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 TDP-245 Plus

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC TDP-245 Plus and is the answer not in the manual?

TSC TDP-245 Plus Specifications

General IconGeneral
BrandTSC
ModelTDP-245 Plus
CategoryBarcode Reader
LanguageEnglish

Related product manuals