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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,be28f9de3e9d4e8f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-16 15:52:25 PST Path: supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!feed.textport.net!news.stealth.net!24.30.200.2.MISMATCH!news-east.rr.com!cyclone-west.rr.com!news.rr.com!news-west.rr.com!nntp2.aus1.giganews.com!NetNews1!attws2!attor2!ip.att.net!news.hitter.net!news!news.crc.com!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Ascii keyword?? Date: Fri, 16 Feb 2001 17:22:12 -0600 Organization: CRC: A wholly owned subsidiary of Thermo Electron Message-ID: <96kcm8$gcq$1@hobbes2.crc.com> References: <3A8D72D4.BBB57470@blueyonder.co.uk> NNTP-Posting-Host: 198.175.145.56 X-Trace: hobbes2.crc.com 982365704 16794 198.175.145.56 (16 Feb 2001 23:21:44 GMT) X-Complaints-To: abuse@crc.com NNTP-Posting-Date: 16 Feb 2001 23:21:44 GMT X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.lang.ada:5315 Date: 2001-02-16T23:21:44+00:00 List-Id: What you need is the language-defined function Character'Val () to convert a number in the range 0 .. 255 to its corresponding character, and the language-defined function Character'Pos () to obtain its position in the character set -- 0 .. 255; E.g., Character'Val (65) returns 'A', and Character'Pos ('A') returns 65. "Richard" wrote in message news:3A8D72D4.BBB57470@blueyonder.co.uk... > ok am new to this ada thing, so is there a package and/or keyword i can > use to convert a decimal number to a acsii character and vice versa > > > thanks :) >