Skip to main content

DEF MSG Define Temporary Message

Formats

1.

Override Message for Number:

DEF MSG(nnn)="message"

2.

Define Message & Name:

DEF MSG(name$)="message"

3.

Remove Message Override:

DEF MSG(nnn) 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.

nnn

Message number from the system message library (i.e. _mlfile.en).

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

MSG( ) Return Message Text
MSGBOX Display Popup Message Box
MESSAGE_LIB Establish Message Library