Wasp Technologies.
66 Copyright 2001 All Rights Reserved.
SEEK
Description
This command is used to shift the specified file pointer to a certain position.
Syntax
SEEK file handle, offset
Parameter
Description
file handle
0 or 1
offset
the offset characters which are shifted to the
beginning of a new position
Example
DOWNLOAD “TEST.BAS”
SIZE 4,4
GAP 0,0
DENSITY 8
SPEED 3
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
CLS
OPEN "DATA",0
SEEK 0,4
ITEM$=""
READ 0,ITEM$,PRICE,QTY
TEXT 10,10,"3",0,1,1,"SEEK COMMAND TEST (SHIFT 4 CHARACTERS)"
BOX 98,48,502,514,2
A$="ITEMS:"+ITEM$
B$="PRICE:"+STR$(PRICE)
C$="QTY:"+STR$(QTY)
TEXT 128,114,"2",0,1,1,A$
TEXT 130,198,"2",0,1,1,B$
TEXT 132,268,"2",0,1,1,C$
BARCODE 132,365,"39",96,1,0,2,4,"PRICE-2000"
PRINT 1
EOP
See Also
DOWNLOAD, EOP, OPEN, READ, EOF, LOF, FREAD$()
Summary of Contents for WPL2
Page 1: ...WPL2 PROGRAMMING MANUAL Wasp Technologies BAR CODE PRINTER SERIES...
Page 5: ...SECOND 105 YEAR 106 MONTH 107 DATE 108 DAY 109 HOUR 110 MINUTE 111 SECOND 112...
Page 8: ...Wasp Technologies 2 Copyright 2001 All Rights Reserved GAP BLINE...
Page 60: ...Wasp Technologies 54 Copyright 2001 All Rights Reserved See Also F FILES...
Page 67: ...Wasp Technologies 61 Copyright 2001 All Rights Reserved See Also DOWNLOAD EOP OPEN READ SEEK...
Page 100: ...Wasp Technologies 94 Copyright 2001 All Rights Reserved See Also SIZE GAP BLINE...
Page 119: ...Wasp Technologies 113 Copyright 2001 All Rights Reserved...
Page 120: ...Last update May 21 2004...