Difference between revisions of "ClearDebugLine"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure ClearDebugLine(const Line: Integer); </source> ==Availability== SCAR Divi 3.00 > Current ==Description== This functi...")
 
Line 16: Line 16:
 
   WriteLn('Hello');
 
   WriteLn('Hello');
 
   WriteLn('World');
 
   WriteLn('World');
   ClearDebugLine(1);
+
  WriteLn('!!!');
 +
   ClearDebugLine(2);
 
end.
 
end.
 
</source>
 
</source>
  
 
Output:
 
Output:
 +
Hello
 
   
 
   
  World
+
  !!!
  
 
==See Also==
 
==See Also==

Revision as of 00:25, 28 June 2011

Definition

procedure ClearDebugLine(const Line: Integer);

Availability

SCAR Divi 3.00 > Current

Description

This function clears a line given by Line in the debug box. Unlike DeleteDebugLine this function does not remove the line, it only clears it, leaving an empty line.

Example

begin
  ClearDebug;
  WriteLn('Hello');
  WriteLn('World');
  WriteLn('!!!');
  ClearDebugLine(2);
end.

Output:

Hello

!!!

See Also