{{htmlmetatags>metatag-robots=()
metatag-title=(PUT MESSAGE | ugBASIC User Manual)
metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum)
metatag-description=(Manual page for PUT MESSAGE)
metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png)
metatag-og:title=(PUT MESSAGE | ugBASIC User Manual)
metatag-og:description=(Manual page for PUT MESSAGE)
}}
====== 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 ====
* Commodore 64
* Commodore 64+REU
* TRS-80 Color Computer 3
* TRS-80 Color Computer
==== 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 [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON PUT MESSAGE|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY =====
[[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]