comp.lang.ada
 help / color / mirror / Atom feed
From: "Petter Fryklund" <qsbpefr@esavionics.se>
Subject: Re: How can you convert.....
Date: Wed, 3 Oct 2001 10:54:20 +0200
Date: 2001-10-03T10:54:20+02:00	[thread overview]
Message-ID: <9peieq$5kd$1@newstoo.ericsson.se> (raw)
In-Reply-To: 9pedqp$m5l$1@newstoo.ericsson.se

If it is convertiable, by

with Ada.Unchecked_Conversion;
with System;
with Interfaces;
...
...
   function "+" is new Ada.Unchecked_Conversion (Source => System.Adress,
Target =>   Interfaces.Unsigned_32);
    Adr : System.Address;
      U  : Interfaces.Unsigned_32;
begin

    ....
    .....
    U := + Adr;




Zebylon wrote in message <9pedqp$m5l$1@newstoo.ericsson.se>...
>...an System.Adress type to an Unsigned_32?
>
>
>/S
>
>





  reply	other threads:[~2001-10-03  8:54 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 [this message]
2001-10-03 17:38   ` Stephen Leake
2001-10-04 19:44     ` tmoran
2001-10-03 12:14 ` James Rogers
replies disabled

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