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...")
 
(Example)
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==

Revision as of 20:32, 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