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,69297f5d572c2692,start X-Google-Attributes: gid103376,public From: rayoub@wam.umd.edu (Ronald Ayoub) Subject: Newbie Arrays Date: 1999/08/13 Message-ID: <7p1555$bf0$1@dailyplanet.wam.umd.edu>#1/1 X-Deja-AN: 512723644 X-Complaints-To: abuse@wam.umd.edu X-Trace: dailyplanet.wam.umd.edu 934549477 11744 128.8.10.147 (13 Aug 1999 13:04:37 GMT) Organization: University of Maryland College Park NNTP-Posting-Date: 13 Aug 1999 13:04:37 GMT Newsgroups: comp.lang.ada Date: 1999-08-13T13:04:37+00:00 List-Id: Right now I'm learning about multidimensional arrays and arrays of arrays. I want to do something similiar to this with multidimensional arrays: for I in V'first..V'last loop for J in V(I)'first..V(I)'last loop V(I)(J) := I * J; end loop; end loop; but I can't see how to use the 'first and 'last attributes with multidimensional arrays. In C there is no real difference between an array of arrays and a multidimensional arrays except syntactically. Are array of arrays more commonly used by Ada programers. Thanks. Ron