| 1 |
(* ASCII.def Defines all ascii constants. |
| 2 |
|
| 3 |
Copyright (C) 2001-2025 Free Software Foundation, Inc. |
| 4 |
Contributed by Gaius Mulley <[email protected]>. |
| 5 |
|
| 6 |
This file is part of GNU Modula-2. |
| 7 |
|
| 8 |
GNU Modula-2 is free software; you can redistribute it and/or modify |
| 9 |
it under the terms of the GNU General Public License as published by |
| 10 |
the Free Software Foundation; either version 3, or (at your option) |
| 11 |
any later version. |
| 12 |
|
| 13 |
GNU Modula-2 is distributed in the hope that it will be useful, but |
| 14 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
General Public License for more details. |
| 17 |
|
| 18 |
Under Section 7 of GPL version 3, you are granted additional |
| 19 |
permissions described in the GCC Runtime Library Exception, version |
| 20 |
3.1, as published by the Free Software Foundation. |
| 21 |
|
| 22 |
You should have received a copy of the GNU General Public License and |
| 23 |
a copy of the GCC Runtime Library Exception along with this program; |
| 24 |
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
| 25 |
<http://www.gnu.org/licenses/>. *) |
| 26 |
|
| 27 |
DEFINITION MODULE ASCII ; |
| 28 |
|
| 29 |
EXPORT QUALIFIED |
| 30 |
nul, soh, stx, etx, eot, enq, ack, bel, |
| 31 |
bs , ht , nl , vt , np , cr , so , si , |
| 32 |
dle, dc1, dc2, dc3, dc4, nak, syn, etb, |
| 33 |
can, em , sub, esc, fs , gs , rs , us , |
| 34 |
sp , (* All the above are in order *) |
| 35 |
lf, ff, eof, del, tab, EOL ; |
| 36 |
|
| 37 |
(* |
| 38 |
Note that lf, eof and EOL are added. |
| 39 |
*) |
| 40 |
|
| 41 |
CONST |
| 42 |
nul=000C; soh=001C; stx=002C; etx=003C; |
| 43 |
eot=004C; enq=005C; ack=006C; bel=007C; |
| 44 |
bs =010C; ht =011C; nl =012C; vt =013C; |
| 45 |
np =014C; cr =015C; so =016C; si =017C; |
| 46 |
dle=020C; dc1=021C; dc2=022C; dc3=023C; |
| 47 |
dc4=024C; nak=025C; syn=026C; etb=027C; |
| 48 |
can=030C; em =031C; sub=032C; esc=033C; |
| 49 |
fs =034C; gs =035C; rs =036C; us =037C; |
| 50 |
sp =040C; (* All the above are in order *) |
| 51 |
lf =nl ; ff =np ; eof=eot ; tab=ht ; |
| 52 |
del=177C; EOL=nl ; |
| 53 |
|
| 54 |
END ASCII. |