comp.lang.ada
 help / color / mirror / Atom feed
From: "Frank J. Lhota" <NOSPAM.Frank.Lhota@lexma.meitech.com>
Subject: Re: convert character to ascii
Date: 2000/05/11
Date: 2000-05-11T00:00:00+00:00	[thread overview]
Message-ID: <LYyS4.11$8j4.344@client> (raw)
In-Reply-To: 8fe2jd$enb$1@le.cs.unibo.it


"john doe" <johndoe@microsoft.com> 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#.






  reply	other threads:[~2000-05-11  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-11  0:00 convert character to ascii john doe
2000-05-11  0:00 ` Frank J. Lhota [this message]
2000-05-11  0:00 ` Preben Randhol
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