Difference between revisions of "ReplaceDebugLine"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure ReplaceDebugLine(const Line: Integer; const Str: AnsiString); </source> ==Availability== SCAR Divi 3.10 > Current ==...")
 
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.10 > Current
+
SCAR Divi 3.10 > 3.34
  
 
==Description==
 
==Description==
Line 32: Line 32:
 
*[[WriteLn]]
 
*[[WriteLn]]
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:GUI Functions]]
 

Latest revision as of 12:11, 25 July 2012

Definition

procedure ReplaceDebugLine(const Line: Integer; const Str: AnsiString);

Availability

SCAR Divi 3.10 > 3.34

Description

This function replaces a line given by Line in the debug box by a string given by Str.

Example

begin
  ClearDebug;
  WriteLn('Hello');
  WriteLn('!!!');
  ReplaceDebugLine(1, 'World!');
end.

Output:

Hello
World!

See Also