Difference between revisions of "ReadInterSCARExtended"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function ReadInterSCARExtended(const Id: AnsiString): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Descr...") |
(No difference)
|
Latest revision as of 13:06, 26 November 2015
Definition
function ReadInterSCARExtended(const Id: AnsiString): Extended;
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 read and converted to an extended which is returned. If the channel did not contain an extended, 0 is returned.
Example
begin SendInterSCARExtended('Test', 5.4321); Wait(1000); WriteLn(ReadInterSCARExtended('Test')); end.
Output:
5.4321