From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: help Please
Date: 1999/01/26
Date: 1999-01-26T00:00:00+00:00 [thread overview]
Message-ID: <x7vsocyzgu2.fsf@pogner.demon.co.uk> (raw)
In-Reply-To: m3u2xgwa9x.fsf@mheaney.ni.net
Matthew Heaney <matthew_heaney@acm.org> writes:
> You can't "typecast" a character to integer, like this
>
> ... Integer (C) ...
>
> but of course you can convert a character into its underlying integer
> representation either by using Unchecked_Conversion or Character'Pos.
I would have thought the original problem would have expected the
character '1' to act in this context as if it had the numeric value 1
(rather than 49 which Character'Pos might give you)
next prev parent reply other threads:[~1999-01-26 0:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <36ab9be5.2873369@news.ptd.net>
1999-01-24 0:00 ` help Please Matthew Heaney
1999-01-26 0:00 ` Steve Kerr
1999-01-26 0:00 ` David C. Hoos, Sr.
1999-01-27 0:00 ` Steve Kerr
1999-01-27 0:00 ` Tucker Taft
1999-01-26 0:00 ` Simon Wright [this message]
2000-05-22 0:00 help please saju sathyan
2000-05-22 0:00 ` Gautier
2000-05-23 0:00 ` saju sathyan
-- strict thread matches above, loose matches on Subject: below --
2001-12-16 15:27 Pierrick
2001-12-16 18:27 ` Patrick Hohmeyer
2001-12-16 19:46 ` Steve Doiel
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox