Difference between revisions of "SendInterSCARMessage"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function SendInterSCARMessage(const Id, Msg: AnsiString): Boolean; </source> ==Availability== SCAR Divi 3.00 > Current ==Descr...") |
(No difference)
|
Latest revision as of 22:27, 2 November 2011
Definition
function SendInterSCARMessage(const Id, Msg: AnsiString): Boolean;
Availability
SCAR Divi 3.00 > Current
Description
Allows SCAR to used shared memory to send message to itself or other instances of SCAR. The Id parameter represents a channel used for the communication, like a port for TCP sockets, while the Msg parameter is passed the message to send.
Example
begin SendInterSCARMessage('Test', 'Hello World!'); Wait(1000); WriteLn(ReadInterSCARMessage('Test')); end.
Output:
Hello World!