comp.lang.ada
 help / color / mirror / Atom feed
From: "Pete" <tyrone@nowhere.org>
Subject: Re: Ask for Access operator
Date: 2000/05/07
Date: 2000-05-07T00:00:00+00:00	[thread overview]
Message-ID: <ObhR4.4795$C9.100771@typhoon.nyroc.rr.com> (raw)
In-Reply-To: 06284168.a35ad676@usw-ex0109-068.remarq.com

if you are using ada95 try this

type Int_Ptr is access all Integer;
Data : aliased Integer := 5;
I_Ptr : Int_Prt;
I_Ptr := Data'Access

depending on the scope of the variables you may have to use
Data'Unchecked_Access




"carlos" <ccaresNOccSPAM@ufro.cl.invalid> wrote in message
news:06284168.a35ad676@usw-ex0109-068.remarq.com...
> I am learning ADA and I am trying to
> use a operator similar to '&' operator
> of C language. I used 'access but it is
> not working for integers. What can I do?
>
>
>
>
> * Sent from AltaVista http://www.altavista.com Where you can also find
related Web Pages, Images, Audios, Videos, News, and Shopping.  Smart is
Beautiful






  parent reply	other threads:[~2000-05-07  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-05  0:00 Ask for Access operator carlos
2000-05-05  0:00 ` Ted Dennison
2000-05-07  0:00 ` Pete [this message]
2000-05-07  0:00   ` Robert Dewar
2000-05-09  0:00 ` carlos
2000-05-09  0:00   ` Robert Dewar
2000-05-09  0:00   ` Ted Dennison
replies disabled

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