|
|
Pushes a user error message onto the error command stack.
Syntax
ERR errmsg
The ERR command is typically used within user defined macros.
Parameters
- errmsg
The error message that is to be pushed onto the error stack. This
message must be entered as a string expression (that is, a quoted string
literal, a string function or macro result).
Examples
$nmdat > err "Illegal negative parameter value"
Push a custom user error message onto the error stack.
Limitations, Restrictions
The error stack is implemented as a ring, with a total of 10 elements.
Note that the ERROR environment variable is not set by this command.
|