msg Command

Displays a specified message.

Scope: Global

Syntax

Parameter

TextString 
The message to be displayed.

Description

The msg command displays the TextString in the information area (in an Editor window) and logs it in the Editor macro log (but only if the messages parameter is set to on). The blank space after the msg command is significant.

Example

To display the message, "No parameter used with this command ", type:

msg No parameter used with this command 

API Return Code

-1 
You have not included a TextString with the command. Check the command's syntax and use a valid TextString.

messages Parameter