[ Character I/O | Reference Manual | Alphabetic Index ]

tyo(+Code)

The character represented by the integer Code is put onto the current output in raw mode.
Code
Integer.

Description

Puts the character represented by the integer character code Code (in the range 0 to 255) onto the current output in raw mode.

If the output device is a terminal, the tyo/1 output goes directly to the screen, whereas the output from put/1 is buffered first, and is only output to the screen when the current output is flushed (e.g. explicitly using flush(1).).

Character codes for the non-printable characters (i.e. control characters) are also acceptable.

Modes and Determinism

Exceptions

(4) instantiation fault
Code is not instantiated.
(5) type error
Code is instantiated, but not to an integer.

Examples

   Equivalent to tyo(output, Code).  (see tyo/2 for details).



See Also

tyi / 1, tyi / 2, tyo / 2