Closes files and declares an end to the user of the I/O (input/output) buffer.
CLOSE
CLOSE
10 OPEN "CAS0:TEST" FOR INPUT AS #1
20 INPUT #1, A$: PRINT A$;
30 IF EOF(1)=0 THEN 20
40 CLOSE
Reads and displays data from sequential file TEST (stored on cassette tape) until all data have been read.