From: Bryce Bardin <bbardin@westdat.com>
Subject: Re: C++'s pointer vs Ada's Access type
Date: 1996/08/01
Date: 1996-08-01T00:00:00+00:00 [thread overview]
Message-ID: <3200BF25.49D4@westdat.com> (raw)
In-Reply-To: DvFu6E.Atz.0.-s@inmet.camb.inmet.com
Tucker Taft wrote:
(Details omitted)
> In any case, the corresponding Ada would generally not use
> pointers at all:
>
> An_Array : array (1..100) of Integer;
>
> for I in An_Array'Range loop
> An_Array[I] := 0;
> end loop;
>
Or, more likely in this simple case, just:
An_Array : array (1 .. 100) of Integer := (others => 0);
Bryce Bardin
next prev parent reply other threads:[~1996-08-01 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-31 0:00 C++'s pointer vs Ada's Access type Ding-yuan Sheu
1996-08-01 0:00 ` David Weller
1996-08-01 0:00 ` johndoe
1996-08-01 0:00 ` Fraser Wilson
1996-08-01 0:00 ` Bryce Bardin [this message]
1996-08-01 0:00 ` Mark A Biggar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox