comp.lang.ada
 help / color / mirror / Atom feed
From: randhol+nospam@pvv.org (Preben Randhol)
Subject: Re: convert character to ascii
Date: 2000/05/11
Date: 2000-05-11T11:12:02+00:00	[thread overview]
Message-ID: <slrn8hl5ci.1ee.randhol+nospam@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 8fe2jd$enb$1@le.cs.unibo.it

On Thu, 11 May 2000 12:41:04 +0200, john doe wrote:
>Hi, what is the function that translate character to ascii ? or character to
>integer ?

Read: http://www.adapower.com/rm95/arm95_49.html#SEC49


   C : Character := "A";
   Result : Integer;

   Result := Character'Pos(C);

-- 
Preben Randhol -- [randhol@pvv.org] -- <http://www.pvv.org/~randhol/>
         "Det eneste trygge stedet i verden er inne i en fortelling."
                                                      -- Athol Fugard




  parent 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
2000-05-11  0:00 ` Preben Randhol [this message]
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