Difference between revisions of "ReadInterSCARMessage"

From SCAR Divi Manual
Jump to: navigation, search
(Definition)
(Availability)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
==Availability==
 
==Availability==
 
SCAR Divi 3.00 > Current
 
SCAR Divi 3.00 > Current
 +
 +
* The function contained a bug in 3.25-3.27 which rendered it useless.
  
 
==Description==
 
==Description==

Latest revision as of 23:32, 2 November 2011

Definition

function ReadInterSCARMessage(const Id: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

  • The function contained a bug in 3.25-3.27 which rendered it useless.

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!

See Also