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 ...")
 
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.00 > Current
+
SCAR Divi 3.10 > 3.34
 
 
 
==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==
Line 31: Line 30:
 
*[[WriteLn]]
 
*[[WriteLn]]
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:GUI Functions]]
 

Latest revision as of 11:11, 25 July 2012

Definition

function GetDebugLineCount: Integer;

Availability

SCAR Divi 3.10 > 3.34

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