error
Function
Display error message
Synopsis
void error(level, text, parm)
int
level;
char
*text;
long
parm;
Description
The error() macro is used to display error messages due to errors generated
within macros. level must have a value of 1, 2, or 3. text is a string which can
contain one %d format character, where parm is the associated integer value.
level can be used to indicate the severity of the error by its value. The following
explains the values available for level, and the associated action taken by
error().
1
text is displayed in the journal window.
2
text is displayed in the journal window and the macro halts program
execution.
3
An error box pops up, text is displayed within the box, and the macro halts
program execution.
Chapter 11: Predefined Macros
error
453