MESSAGE |
![]() ![]() ![]() |
The MESSAGE command sends a message to selected other users. This command is not available on the PDA version of QM.
Format
MESSAGE user {IMMEDIATE} {message.text} MESSAGE OFF MESSAGE ON
where
Where a specific user number is given, the MESSAGE command checks that this user is logged in and is not a phantom process. The ALL keyword sends the message to all non-phantom users (except the user sending the message).
Messages are normally displayed when the user next arrives at the command prompt. If the IMMEDIATE keyword is used and the destination process is using a terminal that supports screen save and restore (QMConsole on Windows, QMTerm, AccuTerm), the message is displayed immediately and the screen is restored when the user acknowledges the message.
The MESSAGE OFF command disables receipt of messages. Messages sent while message reception is disabled are not queued for later display and will never be seen. Use of the MESSAGE command with a user number will report an error if the target user has message reception disabled.
The MESSAGE ON command enables receipt of messages. This is the default state.
@SYSTEM.RETURN.CODE is set to zero for success or to a negative error code.
|