Explanation
ERROR Statement
Simulates an occurrence of a Basic error or a user-defined error.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
ERROR expression% |
expression% | The error code of a Basic or user-defined error; a value in the range 1 through 255. To define your own error, use a value that isn't listed in the Basic Run-Time Error Codes table. |
' For an example, see "ON ERROR" Statement
See also: | ERDEV, ERDEV$ | ERR, ERL | ON ERROR | RESUME |