dos_compilers/Logitech Modula-2 v1.1/ASCII.DEF
2024-06-30 15:43:04 -07:00

45 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(* Version 1.10, Nov 1984 *)
DEFINITION MODULE ASCII;
(*
Symbolic constants for non-printing ASCII characters.
This module has an empty implementation.
*)
EXPORT QUALIFIED
nul, soh, stx, etx, eot, enq, ack, bel,
bs, ht, lf, vt, ff, cr, so, si,
dle, dc1, dc2, dc3, dc4, nak, syn, etb,
can, em, sub, esc, fs, gs, rs, us,
del,
EOL;
CONST
nul = 00C; soh = 01C; stx = 02C; etx = 03C;
eot = 04C; enq = 05C; ack = 06C; bel = 07C;
bs = 10C; ht = 11C; lf = 12C; vt = 13C;
ff = 14C; cr = 15C; so = 16C; si = 17C;
dle = 20C; dc1 = 21C; dc2 = 22C; dc3 = 23C;
dc4 = 24C; nak = 25C; syn = 26C; etb = 27C;
can = 30C; em = 31C; sub = 32C; esc = 33C;
fs = 34C; gs = 35C; rs = 36C; us = 37C;
del = 177C;
CONST
EOL = 36C;
(*
- end-of line character
This (non-ASCII) constant defines the internal name
of the end-of-line character. Using this constant has
the advantage, that only one character is used to
specify line ends (as opposed to cr/lf).
The standard I/O modules interpret this character
and transform it into the (sequence of) end-of-line
code(s) required by the device they support. See
definition modules of 'Terminal' and 'FileSystem'.
*)
END ASCII.