Difference between revisions of "ReadInterSCARMessage"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> 'function ReadInterSCARMessage(const Id: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Descri...") |
(→Definition) |
||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | + | function ReadInterSCARMessage(const Id: AnsiString): AnsiString; | |
</source> | </source> | ||
Revision as of 22:31, 2 November 2011
Definition
function ReadInterSCARMessage(const Id: AnsiString): AnsiString;
Availability
SCAR Divi 3.00 > Current
Description
Allows SCAR to used shared memory to read messages sent by itself or other instances of SCAR. The Id parameter represents a channel used for the communication, like a port for TCP sockets. The message is returned as a string.
Example
begin SendInterSCARMessage('Test', 'Hello World!'); Wait(1000); WriteLn(ReadInterSCARMessage('Test')); end.
Output:
Hello World!