comp.lang.ada
 help / color / mirror / Atom feed
From: John_Lin@paramount.com (Johnny)
Subject: Re: HELP HELP HELP PLEASE Ordinal Function
Date: 1998/12/14
Date: 1998-12-14T00:00:00+00:00	[thread overview]
Message-ID: <367d9215.21961399@news.smartlink.net> (raw)
In-Reply-To: 367c90e5.21657479@news.smartlink.net

On Mon, 14 Dec 1998 04:19:20 GMT, John_Lin@paramount.com (Johnny)
wrote:

>On Mon, 14 Dec 1998 03:55:44 GMT, Matthew Heaney
><matthew_heaney@acm.org> wrote:
>
>>John_Lin@paramount.com (Johnny) writes:
>>
>>> Does anybody know the function to get the ASCII # for symbols in
>>> ADA95?  Thnx
>>
>>declare
>>  C : Character := ...;
>>begin
>>  <ascii#> := Character'Pos (C);
>>end;
>>
>>You can go the other way by using Character'Val (<ascii#>);


Thank You Very Very Much,
Will implement the Character'Pos tonight, Thanks to your help,
Thank goodness for Usenet and nice people

>
>
>Would you happen to know if Character'Val and Character'pos are in the
>Standard IO_Text Package?  My book is ADA95  by feldman and Koffman
>2nd edition it does not list these functions in its text_io or
>standard packages.  





  parent reply	other threads:[~1998-12-14  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-14  0:00 HELP HELP HELP PLEASE Ordinal Function Johnny
1998-12-14  0:00 ` Matthew Heaney
1998-12-14  0:00   ` Johnny
1998-12-14  0:00     ` Matthew Heaney
1998-12-14  0:00     ` Markus Rogawski
1998-12-14  0:00     ` Johnny
1998-12-14  0:00     ` Johnny [this message]
1998-12-14  0:00   ` Johnny
1998-12-14  0:00 ` Ehud Lamm
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox