Difference between revisions of "GetDebugText"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetDebugText: AnsiString; </source> ==Availability== SCAR Divi 3.10 > Current *The function was available before 3.10...")
 
Line 6: Line 6:
 
==Availability==
 
==Availability==
 
SCAR Divi 3.10 > Current
 
SCAR Divi 3.10 > Current
 
*The function was available before 3.10, but an exact version is not known.
 
  
 
==Description==
 
==Description==

Revision as of 22:56, 27 June 2011

Definition

function GetDebugText: AnsiString;

Availability

SCAR Divi 3.10 > Current

Description

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

Example

begin
  ClearDebug;
  WriteLn('Hello');
  WriteLn('World');
  WriteLn(TrimEx(#13#10, GetDebugText));
end.

Output:

Hello
World
Hello
World

See Also