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,1fd537a3da8a5021 X-Google-Attributes: gid103376,public From: Robert A Duff Subject: Re: Array access via pointer? Date: 2000/08/03 Message-ID: #1/1 X-Deja-AN: 654031448 Sender: bobduff@world.std.com (Robert A Duff) References: <398721AD.CAEE3A51@home.com> <8m7hn1$i4r$1@nnrp1.deja.com> <3988269B.D1DB4EA5@home.com> <813i5.1869$SB4.159422@news.flash.net> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 2000-08-03T00:00:00+00:00 List-Id: "Ken Garlington" writes: > "Michael Carman" wrote in message > news:3988269B.D1DB4EA5@home.com... ... > > [To further complicate things, I can't use 'Access -- I'm trying to keep > > my code Ada83 compatible -- I know how to work around it, it's just > > messier.] If you want to pass a pointer to an array, pass an access value, not an address. If you're stuck with Ada 83, then you will have to allocate the arrays in the heap, using 'new'. - Bob