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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e0f6162f2e6cbfc6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-29 05:22:48 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!freenix!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Arrays Date: Thu, 29 May 2003 12:22:12 -0000 Organization: ENST, France Message-ID: References: NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1054210966 82725 137.194.161.2 (29 May 2003 12:22:46 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 29 May 2003 12:22:46 +0000 (UTC) Cc: Drey To: Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:37991 Date: 2003-05-29T12:22:12+00:00 ----- Original Message ----- From: "Drey" Newsgroups: comp.lang.ada To: Sent: Thursday, May 29, 2003 10:08 AM Subject: Arrays > hi ! > > problem: i need the last place of a 2 dimensional array You didn't specifiy of which dimension you need the last place; there is no "last place of a 2 dimensional array." This is defined in RM 3.6.2 The last element of the Nth dimension of A is A'Last (N). > > well how can i do it ? > > A : array (1..2,3..4); > ... > A'last = 2 ? A'Last for a multidemnsional array is the same as A'Last (1). > and how do i get 2nd dimension ? In your above example array A'Last (2) = 4 > > Thanks :) > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >