Difference between revisions of "WriteLn"

From SCAR Divi Manual
Jump to: navigation, search
(Accepted Types)
Line 6: Line 6:
  
 
===Accepted Types===
 
===Accepted Types===
*[[Types.Boolean|Boolean]]
+
*[[Boolean]]
*[[Types.Char|Char]], [[Types.AnsiChar|AnsiChar]]
+
*[[Char]], [[AnsiChar]]
*[[Types.string|string]], [[Types.AnsiString|AnsiString]]
+
*[[string]], [[AnsiString]]
*[[Types.ShortInt|ShortInt]]
+
*[[ShortInt]]
*[[Types.Byte|Byte]]
+
*[[Byte]]
*[[Types.SmallInt|SmallInt]]
+
*[[SmallInt]]
*[[Types.Word|Word]]
+
*[[Word]]
*[[Types.Integer|Integer]]
+
*[[Integer]]
*[[Types.Cardinal|Cardinal]]
+
*[[Cardinal]]
*[[Types.Int64|Int64]]
+
*[[Int64]]
*[[Types.Double|Double]]
+
*[[Double]]
  
 
==Example==
 
==Example==

Revision as of 14:09, 25 June 2011

Definition

<func>procedure WriteLn(x);</func>

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.

Output:

Hello!
1
1

See Also