Wasp Technologies.
68 Copyright 2001 All Rights Reserved.
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 “FREAD.BAS”
SIZE 4,4
GAP 0,0
DENSITY 8
SPEED 3
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
CLS
OPEN "DATA2",0
CLS
Z$=""
Z$=FREAD$(0,6)
TEXT 10,20,"4",0,1,1,"FREAD$() FUNCTION TEST"
TEXT 10,70,"4",0,1,1,"ITEM3$= "+Z$
J=LOF("DATA2")
TEXT 10,140,"3",0,1,1,"THE FILE SIZE OF DATA2 IS: "+STR$(J)+" Bytes"
PRINT 1
EOP
See Also
DOWNLOAD, EOP, OPEN, READ, EOF, LOF(), SEEK
Содержание WPL305
Страница 1: ...WPL2 PROGRAMMING MANUAL Wasp Technologies BAR CODE PRINTER SERIES...
Страница 5: ...SECOND 105 YEAR 106 MONTH 107 DATE 108 DAY 109 HOUR 110 MINUTE 111 SECOND 112...
Страница 8: ...Wasp Technologies 2 Copyright 2001 All Rights Reserved GAP BLINE...
Страница 60: ...Wasp Technologies 54 Copyright 2001 All Rights Reserved See Also F FILES...
Страница 67: ...Wasp Technologies 61 Copyright 2001 All Rights Reserved See Also DOWNLOAD EOP OPEN READ SEEK...
Страница 100: ...Wasp Technologies 94 Copyright 2001 All Rights Reserved See Also SIZE GAP BLINE...
Страница 119: ...Wasp Technologies 113 Copyright 2001 All Rights Reserved...
Страница 120: ...Last update May 21 2004...