EasyManua.ls Logo

GPRINTER GP-3150TIN - FREAD$() Function

GPRINTER GP-3150TIN
85 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...
FREAD$( )
Description
This function reads a specified number of bytes of data from a file.
Syntax
FREAD$ (file handle, byte)
Parameter Description
file handle Either 0 or 1
byte Number of bytes to be read
Example
DOWNLOAD "DATA1",10,1234567890
DOWNLOAD "DATA2",15,ABCDEFGHIJKLMNO
DOWNLOAD "OPEN2.BAS"
SIZE 3,3
GAP 0.08,0
DENSITY 8
SPEED 3
DIRECTION 0
REFERENCE 0,0
SET PEEL OFF
CLS
Y$=""
Z$=""
OPEN "DATA1",0
OPEN "DATA2",1
SEEK 0,0
SEEK 1,0
TEXT 10,260,"3",0,1,1,"FREAD$(0,6) IS: "+Y$
TEXT 10,320,"3",0,1,1,"FREAD$(1,6) IS: "+Z$
PRINT 1
EOP
See Also
DOWNLOAD, EOP, OPEN, READ, EOF, LOF(), SEEK

Related product manuals