From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,13fd7bcbabaa9519 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: End of Line Question Date: 1996/07/12 Message-ID: #1/1 X-Deja-AN: 168173493 references: <4s4tn7$po6@masala.cc.uh.edu> <4s5hdb$hmb@news3.digex.net> <4s66so$ehr@michp1.redstone.army.mil> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-07-12T00:00:00+00:00 List-Id: Michael said ">You could test for this a couple of different ways. In Ada83, package ASCII >contains identifiers for all ASCII control characters. So you could test: >IF ch = ASCII.cr THEN ..." In addition to the fact that you won't get them back, and they may not be there anyway, there is one more thing wrong with the above, namely the proper location for CR is really Ada.Characters.Latin_1. ASCII is in Standard, but it is there for backwards compatibility, and does not contain all the characters, whereas they are all found in the new package.