Difference between revisions of "GetDebugLine"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetDebugLine(const Line: Integer): AnsiString; </source> ==Availability== SCAR Divi 3.10 > Current ==Description== Re...")
 
Line 29: Line 29:
 
*[[GetDebugLineCount]]
 
*[[GetDebugLineCount]]
 
*[[DeleteDebugLine]]
 
*[[DeleteDebugLine]]
 +
*[[ReplaceDebugLine]]
 
*[[ClearDebug]]
 
*[[ClearDebug]]
 
*[[WriteLn]]
 
*[[WriteLn]]

Revision as of 12:19, 4 September 2011

Definition

function GetDebugLine(const Line: Integer): AnsiString;

Availability

SCAR Divi 3.10 > Current

Description

Returns the line from the debug box given by Line.

Example

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

Output:

Hello
World!
World!

See Also