September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
11
Task/Input-loop/BASIC/input-loop-4.basic
Normal file
11
Task/Input-loop/BASIC/input-loop-4.basic
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
100 PROGRAM "Type.bas"
|
||||
110 INPUT PROMPT "File name: ":F$
|
||||
120 WHEN EXCEPTION USE IOERROR
|
||||
130 OPEN #1:F$
|
||||
140 COPY FROM #1 TO #0
|
||||
150 CLOSE #1
|
||||
160 END WHEN
|
||||
170 HANDLER IOERROR
|
||||
180 PRINT EXSTRING$(EXTYPE)
|
||||
190 CLOSE #1
|
||||
200 END HANDLER
|
||||
Loading…
Add table
Add a link
Reference in a new issue