Difference between revisions of "WriteLn"
From SCAR Divi Manual
(→Definition) |
|||
Line 1: | Line 1: | ||
− | == Definition == | + | ==Definition== |
<func>procedure WriteLn(x);</func> | <func>procedure WriteLn(x);</func> | ||
− | == 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. | 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 === | + | ===Accepted Types=== |
*[[Types.Boolean|Boolean]] | *[[Types.Boolean|Boolean]] | ||
*[[Types.Char|Char]], [[Types.AnsiChar|AnsiChar]] | *[[Types.Char|Char]], [[Types.AnsiChar|AnsiChar]] | ||
Line 18: | Line 18: | ||
*[[Types.Double|Double]] | *[[Types.Double|Double]] | ||
− | == Example == | + | ==Example== |
<source lang="scar"> | <source lang="scar"> | ||
begin | begin | ||
Line 31: | Line 31: | ||
1 | 1 | ||
1 | 1 | ||
+ | |||
+ | == See Also == | ||
+ | *[[ClearDebug]] | ||
+ | *[[Status]] |
Revision as of 13:55, 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