Difference between revisions of "GetDebugText"

From SCAR Divi Manual
Jump to: navigation, search
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.10 > Current
+
SCAR Divi 3.10 > 3.35
  
 
==Description==
 
==Description==
Line 33: Line 33:
 
*[[WriteLn]]
 
*[[WriteLn]]
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:GUI Functions]]
 

Revision as of 17:37, 1 June 2012

Definition

function GetDebugText: AnsiString;

Availability

SCAR Divi 3.10 > 3.35

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