Difference between revisions of "ClearDebugLine"

From SCAR Divi Manual
Jump to: navigation, search
Line 15: Line 15:
 
   ClearDebug;
 
   ClearDebug;
 
   WriteLn('Hello');
 
   WriteLn('Hello');
   WriteLn('World');
+
   WriteLn('World!');
 
   WriteLn('!!!');
 
   WriteLn('!!!');
   ClearDebugLine(2);
+
   ClearDebugLine(1);
 
end.
 
end.
 
</source>
 
</source>

Revision as of 11:50, 4 September 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(1);
end.

Output:

Hello

!!!

See Also