Error window

BASin

Error window

The Error window is displayed when an error occurs in Spectrum BASIC, either while your program is running or as a result of a direct command in the editor.

Error window

This window is also used for reports that are not technically errors, such as 0 OK and 9 STOP statement.

For a complete list of possible reports and an explanation of the numbers, see Appendix B.

Click Continue to resume execution of the program. This is equivalent to the CONTINUE statement, and is only available if the error occurred in a running program.

Closing the window will return you to the Editor window, and if you have asked BASin to do so in the Options dialog, then the editor cursor will automatically be moved to the program line/statement that caused the error

Uncheck the Notify me of this error type box if you do not want to see the Error window when this error occurs in future. If you choose to suppress the window for a particular report, it will overwrite the bottom two lines of the screen instead - as on an original Spectrum. You can re-enable the Error window for specific errors on the Error Reporting tab.

Note: In the unlikely event that the error-handling routine in Spectrum ROM is called without a legitimate error value in the ERR NR system variable, BASin will display the error message ? Unknown error.