Table of Contents

ugBASIC User Manual

PUT MESSAGE

SYNTAX

   PUT MESSAGE portId, string

PURPOSE

The PUT MESSAGE allows to put a message on a specific port. This is a statement, not a function. It follows that we cannot know if the statement was successful. This does not really represent a limitation, for the simple fact that the statement will always be successful: if the program on the other side of the port is not available, for some reason, the message will be preserved by the DOJO server, and it will be delivered at the first available moment.

EXAMPLE

  sessionId = LOGIN( "user", "password" )
  port = FIND( sessionId, "user2", "testApp" )
  PUT MESSAGE port, "hello!"

ABBREVIATION

 PuMsg

AVAILABLE ON

ALIAS FOR

DOJO PUT MESSAGE

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY