Difference between revisions of "GetDebugText"

From SCAR Divi Manual
Jump to: navigation, search
 
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.10 > 3.35
+
SCAR Divi 3.10 > 3.34
  
 
==Description==
 
==Description==

Latest revision as of 11:11, 25 July 2012

Definition

function GetDebugText: AnsiString;

Availability

SCAR Divi 3.10 > 3.34

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