From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,76813f0de9a78c61 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-03 05:24:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!washdc3-snh1.gtei.net!news.gtei.net!feeder.qis.net!feed2.onemain.com!feed1.onemain.com!cyclone2.usenetserver.com!usenetserver.com!news-east.rr.com!wn2feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3BBB014E.868FD640@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How can you convert..... References: <9pedqp$m5l$1@newstoo.ericsson.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 03 Oct 2001 12:14:47 GMT NNTP-Posting-Host: 12.86.32.123 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1002111287 12.86.32.123 (Wed, 03 Oct 2001 12:14:47 GMT) NNTP-Posting-Date: Wed, 03 Oct 2001 12:14:47 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:13672 Date: 2001-10-03T12:14:47+00:00 List-Id: 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