Out

Module with a set of basic routines for formatted output of characters, numbers and strings.

Vars

W: Texts.Writer;

Procedures

Char

Writes the character ch to the output.

PROCEDURE Char* (ch: CHAR);

String

Writes the string s to the output.

PROCEDURE String* (s: ARRAY OF CHAR);

Ln

Outputs a newline.

PROCEDURE Ln*;

Int

Writes the integer x in n field positions.

PROCEDURE Int* (x: INTEGER; n: INTEGER);

Long

Writes the long integer x in n field positions.

PROCEDURE Long* (x: LONGINT; n: INTEGER);

Hex

Writes the integer x in hexadecimal notation.

PROCEDURE Hex* (x: INTEGER);

LongHex

Writes the long integer x in hexadecimal notation.

PROCEDURE LongHex* (x: LONGINT);

Real

Writes the real x in n field positions.

PROCEDURE Real* (x: REAL; n: INTEGER);

LongReal

Writes the long real x in n field positions.

PROCEDURE LongReal* (x: LONGREAL; n: INTEGER);

Set

Writes the set set to the output.

PROCEDURE Set* (set: SET);