Difference between revisions of "GetDebugLineCount"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetDebugLineCount: Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== This function clears ...")
 
Line 8: Line 8:
  
 
==Description==
 
==Description==
This function clears all content currently present in the debug box.
+
Returns the number of lines displayed in the debug box.
  
 
==Example==
 
==Example==

Revision as of 21:35, 27 June 2011

Definition

function GetDebugLineCount: Integer;

Availability

SCAR Divi 3.00 > Current

Description

Returns the number of lines displayed in the debug box.

Example

begin
  ClearDebug;
  WriteLn('Hello');
  WriteLn('World');
  WriteLn(GetDebugLineCount);
end.

Output:

Hello
World
2

See Also