From: "DuckE" <nospam_steved@pacifier.com>
Subject: Re: translate character 2 ascii
Date: 2000/05/11
Date: 2000-05-11T00:00:00+00:00 [thread overview]
Message-ID: <391b78db.0@news.pacifier.com> (raw)
In-Reply-To: U5GS4.3578$F46.41867@news.infostrada.it
"davdenic" <davidNOspam@davdenic.com> 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.
>
next prev parent reply other threads:[~2000-05-11 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-11 0:00 translate character 2 ascii davdenic
2000-05-11 0:00 ` Ted Dennison
2000-05-11 0:00 ` Ted Dennison
2000-05-11 0:00 ` davdenic
2000-05-11 0:00 ` DuckE [this message]
2000-05-12 0:00 ` tmoran
2000-05-12 0:00 ` Ted Dennison
2000-05-12 0:00 ` Ehud Lamm
2000-05-13 0:00 ` davdenic
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox