Difference between Full BASIC and Microsoft BASIC
Error Handling (Exception Handling)
Corresponding error handling is shown to the right.
100 ON ERROR GOTO 400 110 target 140 ON ERROR GOTO 0 150 next transaction ……… 390 END 400 error handling 410 RESUME 140 |
100 WHEN EXCEPTION IN 110 target 120 USE 130 error handling 140 END WHEN 150 next transaction ……… 390 END |