POSTMESSAGE

From STX Wiki
Jump to navigation Jump to search

POSTMESSAGE

Post a message to the specified shell. The meaning of the message content (msgid, msgpar) depends on the target shell. The target shell (shell) must have a message handler for messages of type SHELL.

Usage:

POSTMESSAGE shell msgid msgpar

Parameters:
shell
The id of the target shell; this can be the id-string of a running shell or one off the keywords MASTER (the master shell), CALLER (the shell starting the application), SELF (=THIS; the application shell itself) or ALL (= *; all shells, except the sender).
msgid
The message id string.
msgpar
The message parameters.
Result:

0 for success or non-zero errorcode

Notes:

GetMessage