ReplaceDebugLine

From SCAR Divi Manual
Revision as of 12:21, 4 September 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure ReplaceDebugLine(const Line: Integer; const Str: AnsiString); </source> ==Availability== SCAR Divi 3.10 > Current ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

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

Availability

SCAR Divi 3.10 > Current

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