AT&T 6300 Programmer's Manual page 272

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

GET (Files)
Statement
Example
7-116
10 OPEN ur ",1,uA:RAND",48
20 FIELD# 1,20 AS R1$,2P AS R2$,8 AS R3$
ao
FOR L=1 TO 2
40 GET# 1,L
50
PRINT R1$,R2$,CVD(R3$)
60 NEXT
70 CLOSE# 1
80 END
Ok
RUN
Super man
USA
11234621
robin hood
England
23462101
Ok
This program retrieves information stored in
the specified file. The data read into the buffer
may be accessed by the program. This is done
here by the PRINT statement at line 50. These
data items were written to the file by the PUT-
File statement.

Advertisement

Table of Contents
loading

Table of Contents