Difference between revisions of "WriteLn"
From SCAR Divi Manual
(→Accepted Types) |
|||
Line 6: | Line 6: | ||
===Accepted Types=== | ===Accepted Types=== | ||
− | *[[ | + | *[[Boolean]] |
− | *[[ | + | *[[Char]], [[AnsiChar]] |
− | *[[ | + | *[[string]], [[AnsiString]] |
− | *[[ | + | *[[ShortInt]] |
− | *[[ | + | *[[Byte]] |
− | *[[ | + | *[[SmallInt]] |
− | *[[ | + | *[[Word]] |
− | *[[ | + | *[[Integer]] |
− | *[[ | + | *[[Cardinal]] |
− | *[[ | + | *[[Int64]] |
− | *[[ | + | *[[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