ASCII.DEF 951 B

12345678910111213141516171819202122232425262728
  1. (* ========================================================= *)
  2. (* Preliminary library module for Gardens Point Modula *)
  3. (* ========================================================= *)
  4. (* !SYSTEM! *) DEFINITION MODULE Ascii;
  5. (* this is a system module; it is known to the compiler and *)
  6. (* activated by import. There is no explicit implementation. *)
  7. (* standard short character names for control chars *)
  8. CONST nul = 00C; soh = 01C; stx = 02C; etx = 03C;
  9. eot = 04C; enq = 05C; ack = 06C; bel = 07C;
  10. bs = 10C; ht = 11C; lf = 12C; vt = 13C;
  11. ff = 14C; cr = 15C; so = 16C; si = 17C;
  12. dle = 20C; dc1 = 21C; dc2 = 22C; dc3 = 23C;
  13. dc4 = 24C; nak = 25C; syn = 26C; etb = 27C;
  14. can = 30C; em = 31C; sub = 32C; esc = 33C;
  15. fs = 34C; gs = 35C; rs = 36C; us = 37C;
  16. del = 177C;
  17. (* standard synonyms for certain control characters *)
  18. CONST xon = dc1; xoff = dc3;
  19. END Ascii.