.. index:: single: Out .. _Out: *** Out *** Module with a set of basic routines for formatted output of characters, numbers and strings. Vars ==== .. code-block:: modula2 W: Texts.Writer; Procedures ========== .. _Out.Char: Char ---- Writes the character `ch` to the output. .. code-block:: modula2 PROCEDURE Char* (ch: CHAR); .. _Out.String: String ------ Writes the string `s` to the output. .. code-block:: modula2 PROCEDURE String* (s: ARRAY OF CHAR); .. _Out.Ln: Ln -- Outputs a newline. .. code-block:: modula2 PROCEDURE Ln*; .. _Out.Int: Int --- Writes the integer `x` in `n` field positions. .. code-block:: modula2 PROCEDURE Int* (x: INTEGER; n: INTEGER); .. _Out.Long: Long ---- Writes the long integer `x` in `n` field positions. .. code-block:: modula2 PROCEDURE Long* (x: LONGINT; n: INTEGER); .. _Out.Hex: Hex --- Writes the integer `x` in hexadecimal notation. .. code-block:: modula2 PROCEDURE Hex* (x: INTEGER); .. _Out.LongHex: LongHex ------- Writes the long integer `x` in hexadecimal notation. .. code-block:: modula2 PROCEDURE LongHex* (x: LONGINT); .. _Out.Real: Real ---- Writes the real `x` in `n` field positions. .. code-block:: modula2 PROCEDURE Real* (x: REAL; n: INTEGER); .. _Out.LongReal: LongReal -------- Writes the long real `x` in `n` field positions. .. code-block:: modula2 PROCEDURE LongReal* (x: LONGREAL; n: INTEGER); .. _Out.Set: Set --- Writes the set `set` to the output. .. code-block:: modula2 PROCEDURE Set* (set: SET);