home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 1: Collection A
/
17Bit_Collection_A.iso
/
files
/
36.dms
/
36.adf
/
task2.bas
< prev
next >
Wrap
BASIC Source File
|
1988-05-22
|
319b
|
16 lines
2 scnclr
5 on error gosub 100
10 open "i",1,"testfile"
20 while not eof(1)
25 g$=getkey$:if g$="Q" then end
30 input #1,a$
40 print a$
50 wend
60 close 1
65 print "waiting..."
70 for i=1 to 10000:next
80 goto 10
100 ' error handler
110 print "File access blocked"
120 resume