69
DEF MSG Directive
Define Temporary Message
Formats
1. Override Message for Number: DEF MSG(err_msg)="message"
2. Define Message & Name: DEF MSG(name$)="message"
3. Remove Message Override: DEF MSG(err_msg) DELETE
4. Remove Message Name: DEF MSG(name$) DELETE
Where:
message
String containing message text associated with name$ or to override the
message text in nnn.
name$
New system message name.
err_msg
Number of the error message to return. Numeric expression. If err_msg
is a positive integer, it returns the associated message, as described
extended or external error information.
Description
The DEF MSG directive allows you to change system messages on-the-fly. It can be
used to temporarily override values returned by the MSG( ) function for specific
message numbers. It also allows the creation of text-based message names.
See Also
Examples
DEF MSG(11)="Your own syntax message"
DEF MSG(-1)DELETE ! Clear current MSG(-1)