comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Get a pointer to an array
Date: 1999/06/06
Date: 1999-06-06T00:00:00+00:00	[thread overview]
Message-ID: <7jcist$jbs$1@nnrp1.deja.com> (raw)
In-Reply-To: 37599022.C77585D@barak-online.net

In article <37599022.C77585D@barak-online.net>,
  Elad Rosenheim <e_ros@netvision.net.il> wrote:
> This question may seem easy, but I haven't been able to find
> a solution:
>
> How do I create a normal array, then point an access type to
> it?

First answer, Don't! Aliasing of this kind is almost always
dubious and inadvisable.

Second answer, if you must do it for a good reason (there are
not very many good reasons for doing this), then declare the
array aliased, and use 'Access.



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




  parent reply	other threads:[~1999-06-06  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-05  0:00 Get a pointer to an array Elad Rosenheim
1999-06-06  0:00 ` David Botton
1999-06-06  0:00 ` Robert Dewar [this message]
1999-06-09  0:00 ` Steve Doiel
replies disabled

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