comp.lang.ada
 help / color / mirror / Atom feed
From: James Rogers <jimmaureenrogers@worldnet.att.net>
Subject: Re: How can you convert.....
Date: Wed, 03 Oct 2001 12:14:47 GMT
Date: 2001-10-03T12:14:47+00:00	[thread overview]
Message-ID: <3BBB014E.868FD640@worldnet.att.net> (raw)
In-Reply-To: 9pedqp$m5l$1@newstoo.ericsson.se

Zebylon wrote:
> 
> ...an System.Adress type to an Unsigned_32?

The real question is "why do you want to do this?"

This sounds to me like trying to write C in Ada.

The package System defines comparison functions for type Address.
The package System.Storage_Elements defines arithmetic for
type Address. 

Perhaps you are trying to deal with passing pointers in C.
In that case, System.Address is more appropriate than Unsigned_32.
Unsigned_32 is a non-portable representation of an address.

Jim Rogers
Colorado Springs, Colorado USA



      parent reply	other threads:[~2001-10-03 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-03  7:32 How can you convert Zebylon
2001-10-03  8:54 ` Petter Fryklund
2001-10-03 17:38   ` Stephen Leake
2001-10-04 19:44     ` tmoran
2001-10-03 12:14 ` James Rogers [this message]
replies disabled

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