Difference between revisions of "WriteLn"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "== Definition == procedure WriteLn(x); == Example == begin WriteLn('Hello!'); WriteLn(1); WriteLn(True); end.")
 
Line 1: Line 1:
 
== Definition ==
 
== Definition ==
 
procedure WriteLn(x);
 
procedure WriteLn(x);
 +
 +
== Description ==
 +
This function writes data defined in '''x''' to the debug box. It accepts a wide variety of types. Only base types are accepted.
 +
 +
=== Accepted Types ===
 +
*[[Types.Boolean|Boolean]]
 +
*[[Types.Char|Char]], [[Types.AnsiChar|AnsiChar]]
 +
*[[Types.string|string]], [[Types.AnsiString|AnsiString]]
 +
*[[Types.ShortInt|ShortInt]]
 +
*[[Types.Byte|Byte]]
 +
*[[Types.SmallInt|SmallInt]]
 +
*[[Types.Word|Word]]
 +
*[[Types.Integer|Integer]]
 +
*[[Types.Cardinal|Cardinal]]
 +
*[[Types.Int64|Int64]]
 +
*[[Types.Double|Double]]
  
 
== Example ==
 
== Example ==

Revision as of 13:46, 25 June 2011

Definition

procedure WriteLn(x);

Description

This function writes data defined in x to the debug box. It accepts a wide variety of types. Only base types are accepted.

Accepted Types

Example

begin
  WriteLn('Hello!');
  WriteLn(1);
  WriteLn(True);
end.