ERM
Error Message
This string function returns the text of the specified error code.
Syntax
Section titled “Syntax”ERM (numeric-value [,ERR=line-ref|,ERC=error-code])numeric-value- is any valid Thoroughbred Basic error code.
line-ref- is the program line number or label to branch to if an error is produced by this function.
error-code- is a programmer-defined error code. Valid values are positive or negative whole numbers.
Remarks
Section titled “Remarks”If an invalid numeric-value is specified, an ERR=41 results.
Examples
Section titled “Examples”ERM ( 20 )returns “Statement Structure ( Syntax )”.
PRINT ERM ( 80 )prints “Windows Error: Attempt to use same optional parameter twice” on the terminal.
See also
Section titled “See also”Error Codes in Volume I
From the Thoroughbred Basic Language Reference, Volume I: A–E, version 8.9.1. Open this page in the PDF