Description |
Gets the standard output text stream.
|
| Notes | Static methods are not methods of an object - they are simply class functions or procedures available at any time.
|
|
Microsoft MSDN Links |
System
System.Console
|
|
|
A simple example |
program Project1;
{$APPTYPE CONSOLE}
uses
System.IO;
var
outWriter : Stream;
begin
outWriter := Console.OpenStandardOutput;
// Write to the standard output stream
outWriter.Write([Ord('H'), Ord('e'), Ord('l'),
Ord('l'), Ord('o'), 13, 10], 0, 7);
// Close the file
outWriter.Close;
Console.ReadLine;
end.
| Show full unit code | Hello
|
|
|
|