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: "DuckE" Subject: Re: translate character 2 ascii Date: 2000/05/11 Message-ID: <391b78db.0@news.pacifier.com>#1/1 X-Deja-AN: 622399385 References: <8fepcv$dbp$1@nnrp1.deja.com> <8fepsc$e04$1@nnrp1.deja.com> X-Trace: 11 May 2000 20:22:03 PST, 198.145.227.237 X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: comp.lang.ada X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Date: 2000-05-11T00:00:00+00:00 List-Id: "davdenic" wrote in message news:U5GS4.3578$F46.41867@news.infostrada.it... > i can't find it, why ? translate real or other into integer is simple using > x:= integer(y), why not for character to ascii or character to integer ? > > for example in Pascal there is the functin Ord to convert character to ascii > x:= ord(y); > The corresponding operation in Ada is: x := Character'Pos( y ); SteveD > thanks > > David. >