Difference between revisions of "WriteLn"

From SCAR Divi Manual
Jump to: navigation, search
(Availability)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Definition==
 
==Definition==
<func>procedure WriteLn(x);</func>
+
<source lang="scar" lines="false">
 +
procedure WriteLn(x);
 +
</source>
  
 
==Availability==
 
==Availability==
SCAR 1.0 > Current
+
SCAR Divi 3.00 > Current
  
*Before SCAR Divi 3.20, '''x''' was defined as "x: string".
+
*Before SCAR Divi 3.20 the function was defined as:
 +
<source lang="scar" lines="false">
 +
procedure WriteLn(s: string);
 +
</source>
  
 
==Description==
 
==Description==
This function writes data defined in '''x''' to the debug box. It accepts a wide variety of types. Only base types are accepted.
+
Writes data defined in '''x''' to the debug box. It accepts a wide variety of types. Only base types are accepted. In case the debug box is not visible, it will be toggled visible.
  
===Accepted Types===
+
===Accepted Types (x)===
 
*[[Boolean]]
 
*[[Boolean]]
 
*[[Char]], [[AnsiChar]]
 
*[[Char]], [[AnsiChar]]
Line 37: Line 42:
 
  1
 
  1
  
== See Also ==
+
==See Also==
 
*[[ClearDebug]]
 
*[[ClearDebug]]
 
*[[Status]]
 
*[[Status]]
 +
*[[Alert]]
 +
*[[AddToReport]]
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:GUI Functions]]
 
[[Category:GUI Functions]]

Latest revision as of 15:50, 2 July 2011

Definition

procedure WriteLn(x);

Availability

SCAR Divi 3.00 > Current

  • Before SCAR Divi 3.20 the function was defined as:
procedure WriteLn(s: string);

Description

Writes data defined in x to the debug box. It accepts a wide variety of types. Only base types are accepted. In case the debug box is not visible, it will be toggled visible.

Accepted Types (x)

Example

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

Output:

Hello!
1
1

See Also