home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / modu1096.zip / GPMsym / ascii.def next >
Text File  |  1996-08-29  |  2KB  |  37 lines

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