Trap Graphics 0 Errors, error-trapping routine (ERRTRPIO.BAS)

Trap Graphics 0 Errors, error-trapping routine by Robert R. Ambrose, 8

Description

Trap Graphics 0 Errors, error-trapping routine by Robert R. Ambrose, 8

From the Antic disk of April 1984 (Vol. 3 No. 1).

From the Antic Software Archive at atarimagazines.com. The program remains the property of its author and publisher.

What is in this file

Atari BASIC program · 253 bytes

Dialect
Atari BASIC
Lines
5
Variables
ERRORLNE, ERROR
BASIC listing (5 lines)
2 TRAP 31000:REM ERROR HANDLING ROUTINE
31000 ERRORLNE=256*PEEK(187)+PEEK(186)
31010 ? "YOU HAVE MADE AN ERROR!":? "CAREFULLY ENTER YOUR RESPONSE AGAIN."
31020 FOR ERROR=1 TO 150:NEXT ERROR
31030 TRAP 31000:GOTO ERRORLNE