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,9fde223b75d6fab X-Google-Attributes: gid103376,public From: tmoran@bix.com Subject: Re: translate character 2 ascii Date: 2000/05/12 Message-ID: #1/1 X-Deja-AN: 622451000 References: X-Complaints-To: abuse@pacbell.net X-Trace: news.pacbell.net 958115575 206.170.2.232 (Fri, 12 May 2000 00:12:55 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Fri, 12 May 2000 00:12:55 PDT Newsgroups: comp.lang.ada Date: 2000-05-12T00:00:00+00:00 List-Id: What's the difference between a character 'x' and an ascii 'x'? If you are talking about position in the list of characters, n : integer := character'pos('x'); -- set n to 120 c : character := character'val(121); -- set c to 'y' It's in Appendix K, though I grant it doesn't exactly jump out at you.