Difference between revisions of "GetReportText"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetReportText: AnsiString; </source> ==Availability== SCAR Divi 3.10 > Current ==Description== Returns the contents c...")
 
(No difference)

Latest revision as of 10:55, 4 September 2011

Definition

function GetReportText: AnsiString;

Availability

SCAR Divi 3.10 > Current

Description

Returns the contents currently displayed in the debug box as a string.

Example

begin
  ClearReport;
  AddToReport('Hello');
  AddToReport('World');
  WriteLn(TrimEx(#13#10, GetReportText));
end.

Output:

Hello
World

See Also