Check that file exists: Difference between revisions
m
shorten by one line
(Applesoft BASIC) |
m (shorten by one line) |
||
Line 60:
=={{header|Applesoft BASIC}}==
The error code for FILE NOT FOUND is 6.
<lang ApplesoftBasic>
110
120 T$(
130
140
▲160 END
200 E = 1
210 ON ERR GOTO 250"CATCH
220 REM TRY
230 PRINT
240 POKE 216, 0 : GOTO 280"END TRY
250 REM CATCH
|