TSC AUTO ID Technology Co., Ltd. 128 Copyright 2013 All Rights Reserved.
GET
Description
Get one byte from file.
Syntax
GET file handle,var1$[,var2$][,var3$][, …]
GET file handle,var1[,var2][,var3][, …]
GET file handle,var1$[,var2$][,var3][, …]
Note:
This command has been supported since V6.91 EZ and later firmware.
Example
Sample code
DOWNLOAD "DATA1",10,1234567890
DOWNLOAD "TEST.BAS"
a$=""
b$=""
c=0
d$=""
e$=""
OPEN "DATA1",0
SEEK 0,0
GET 0,a$,b$,c
SEEK 0,0
FOR I=1 TO 5
GET 0,d$
e$=e$+d$
NEXT
SIZE 4,0.5
GAP 0,0
CLS
TEXT 10,10,"3",0,1,1,"The first 3 characters in DATA1: "+ a$+b$+" ("+STR$(c)+")"
TEXT 10,60,"3",0,1,1,"The first 5 characters in DATA1: "+e$
PRINT 1
EOP
TEST
See Also
DOWNLOAD, EOP, OPEN, READ, EOF, LOF(), SEEK, PUT