Commit bd490fb1 authored by kollo's avatar kollo

added diagnostics section to manual.

parent 759311b7
......@@ -1879,3 +1879,13 @@ LOOP
Please note that the \verb|EXIT IF| statement has no \verb|ENDIF| or the like.
It just terminates the loop and continues your program behind the loop end.
\section{Diagnostics}
Some errors can be caught by the user program using the \verb|ON ERROR GOTO| or
\verb|ON ERROR GOSUB| command. If no error trapping routine has been supplied
then program execution is terminated and a message is printed with the
corresponding line number. The error messages are standardized. Each error
message has a corresponding number which can be referenced by the system variable
\verb|ERR|. A list of standard error messages by number can be found in chapter
\ref{errors}.
......@@ -758,6 +758,7 @@ can be executed recursively. A function will be defined by:
\end{verbatim}
\section{Error Messages}
\label{errors}
X11-Basic can produce a number of internal errors, which are referred
to by a number (ERR) (see also ERROR).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment