Group Exception / Error Handling
BEGIN SEQUENCE
Introduces control structure for BREAK or Break(). The BEGIN SEQUENCE statement introduces a control structure for handling runtime errors.
BEGIN SEQUENCE <SourceCode>... [BREAK [<Expression>]] <SourceCode>... [RECOVER [USING <VarName>]] <SourceCode>... END [SEQUENCE]
Break()
Interrupts execution of the current thread.
Break( [<Expression>] ) --> NIL
DosError()
Retrieves the last operating system error code.
DosError( [<nNewOsErrorID>] ) --> nErrorID
DosErrorMessage()
Retrieves the textual description of an operating system error code.
DosErrorMessage( [<nOsErrorID>], [<cnLanguage>] ) --> cMessage
Error()
Class
Class function of the Error Class.
ErrorBlock()
Defines a code block to execute if a runtime error occurs.
ErrorBlock( [<bErrorHandler>] ) --> bLastErrorHandler
GraError()
Determines the error code of the last graphic function called.
GraError( [<oPS>] ) --> nErrorCode