comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Universal Integer in TO_ADDRESS call
Date: 1999/05/30
Date: 1999-05-30T00:00:00+00:00	[thread overview]
Message-ID: <7iqblm$30j$1@nnrp1.deja.com> (raw)
In-Reply-To: 01beaa3e$0e05fbc0$9b2bb6c7@alesia

In article <01beaa3e$0e05fbc0$9b2bb6c7@alesia>,
  "Vincent P. Amiot" <godzilla@mozilla.com> wrote:
> the 'conversion' to universal integer is as follows:
>
> 	Integer'Pos (X)
>
> Hope it pulls the trick for you ;-) ...
>
> Regards
>
> Vincent Amiot / Aonix

Right, I missed this possibility, but Vincent is absolutely
right, this should work. It is very peculiar code, hard to
imagine any normal Ada situation where one would want this
conversion, but here it may be just the ticket. Note that
you can do this with any integer type.



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




  reply	other threads:[~1999-05-30  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-29  0:00 Universal Integer in TO_ADDRESS call David Akister
1999-05-29  0:00 ` Robert Dewar
1999-05-30  0:00 ` Vincent P. Amiot
1999-05-30  0:00   ` Robert Dewar [this message]
1999-05-30  0:00     ` David Akister
1999-05-31  0:00       ` Robert Dewar
1999-06-06  0:00 ` Matthew Heaney
replies disabled

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