Difference between revisions of "ClearDebug"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure ClearDebug; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== This function clears all content cur...")
 
(See Also)
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
<source lang="scar">
 
<source lang="scar">
 
begin
 
begin
 +
  WriteLn('Clearing the debug box in 2 seconds!');
 +
  Wait(2000);
 +
  ClearDebug;
 
   WriteLn('Hello World!');
 
   WriteLn('Hello World!');
  Wait(1000);
 
  ClearDebug;
 
  WriteLn('Hey');
 
 
end.
 
end.
 
</source>
 
</source>
  
 
Output:
 
Output:
  Hey
+
  Hello World!
  
 
==See Also==
 
==See Also==
 +
*[[DeleteDebugLine]]
 
*[[ClearDebugLine]]
 
*[[ClearDebugLine]]
 +
*[[GetDebugLineCount]]
 +
*[[GetDebugText]]
 
*[[WriteLn]]
 
*[[WriteLn]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:GUI Functions]]
 
[[Category:GUI Functions]]

Latest revision as of 21:34, 27 June 2011

Definition

procedure ClearDebug;

Availability

SCAR Divi 3.00 > Current

Description

This function clears all content currently present in the debug box.

Example

begin
  WriteLn('Clearing the debug box in 2 seconds!');
  Wait(2000);
  ClearDebug;
  WriteLn('Hello World!');
end.

Output:

Hello World!

See Also