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=2.6 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, FROM_WORDY,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1a669d3c275bf32d X-Google-Attributes: gid103376,public From: "Frank J. Lhota" Subject: Re: convert character to ascii Date: 2000/05/11 Message-ID: #1/1 X-Deja-AN: 622111715 References: <8fe2jd$enb$1@le.cs.unibo.it> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Trace: client 958053291 38.163.203.81 (Thu, 11 May 2000 09:54:51 EDT) X-MSMail-Priority: Normal NNTP-Posting-Date: Thu, 11 May 2000 09:54:51 EDT Newsgroups: comp.lang.ada Date: 2000-05-11T00:00:00+00:00 List-Id: "john doe" wrote in message news:8fe2jd$enb$1@le.cs.unibo.it... > Hi, what is the function that translate character to ascii ? Please clarify what you mean by "translate character to ascii". The Ada character type uses the ASCII coding, so it is not clear what translation is needed. > or character to integer ? The Character'Pos attribute will do the trick, returning integer values in the range 0 .. 16#FF#.