Programmer Guide/Macro Library/POSTMESSAGE: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Latest revision as of 17:31, 18 November 2010
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) orALL
(=*
; all shells, except the sender).
- msgid
- The message id string.
- msgpar
- The message parameters.
Result:
0 for success or non-zero errorcode
Notes:
GetMessage