ERR: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

23 January 2023

19 April 2022

  • curprev 17:2017:20, 19 April 2022BigRon55 talk contribs 1,193 bytes +1,193 Created page with "The ERR function returns the last QBasic error code number. {{PageSyntax}} : {{Parameter|errorNum%}} = ERR {{PageDescription}} * If there is no error, the function returns 0 * Can be used in an error handling routine to report the last error code number. {{PageExamples}} ''Example:'' Simulating an error to test a program error handler that looks for a "Subscript out of range" error. {{CodeStart}} '' '' {{Cl|ON ERROR}} {{Cl|GOTO}} handler {{Cl|IF...THEN|IF..."