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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ed3864cb23152ae6 X-Google-Attributes: gid103376,public From: Bryce Bardin Subject: Re: C++'s pointer vs Ada's Access type Date: 1996/08/01 Message-ID: <3200BF25.49D4@westdat.com>#1/1 X-Deja-AN: 171429141 references: <31FFD4A6.41C6@afit.af.mil> content-type: text/plain; charset=us-ascii organization: Ada Consulting and Training mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.02 (Win95; I) Date: 1996-08-01T00:00:00+00:00 List-Id: 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