Difference between revisions of "Manual:DIL Manual/sendtoall()"
Jump to navigation
Jump to search
(XML import) |
(XML import) |
||
| Line 1: | Line 1: | ||
| + | <span id="bpsendall"></span> | ||
| + | sendtoall( m : string, s : string ) | ||
| + | m : Message to send. | ||
| + | s : Name idx to send message to. | ||
| + | result: Send a message to all units matching a given database name. | ||
| + | '''Example:''' | ||
| + | sendtoall ( "some message", "rabbit@haon-dor"); | ||
| + | |||
| + | The message "some message" is sent to all units in the world matching the | ||
| + | data base name "rabbit@haon-dor". Like 'send()' and 'sendto()', the | ||
| + | message received matches the SFB_MSG message class. | ||
| + | |||
| + | ---~---~---~---~---~---~---~---~--- | ||
<span id="bpsendall"></span> | <span id="bpsendall"></span> | ||
sendtoall( m : string, s : string ) | sendtoall( m : string, s : string ) | ||
Latest revision as of 22:33, 4 December 2025
sendtoall( m : string, s : string ) m : Message to send. s : Name idx to send message to. result: Send a message to all units matching a given database name.
Example:
sendtoall ( "some message", "rabbit@haon-dor");
The message "some message" is sent to all units in the world matching the data base name "rabbit@haon-dor". Like 'send()' and 'sendto()', the message received matches the SFB_MSG message class.
---~---~---~---~---~---~---~---~---
sendtoall( m : string, s : string ) m : Message to send. s : Name idx to send message to. result: Send a message to all units matching a given database name.
Example:
sendtoall ( "some message", "rabbit@haon-dor");
The message "some message" is sent to all units in the world matching the data base name "rabbit@haon-dor". Like 'send()' and 'sendto()', the message received matches the SFB_MSG message class.
---~---~---~---~---~---~---~---~---