POSTMESSAGE

From STX Wiki
< Programmer Guide‎ | Macro Library
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump 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

Navigation menu

Personal tools