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=0.7 required=5.0 tests=BAYES_00,INVALID_MSGID, PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7fc5da0a4cc955c X-Google-Attributes: gid103376,public From: WishList@2600.com (Technobabble) Subject: Re: unconstrainded array question Date: 1998/09/19 Message-ID: #1/1 X-Deja-AN: 392642571 References: <36033452.12702502@SantaClara01.news.InterNex.Net> Organization: WannaBeACracker NNTP-Posting-Date: Fri, 18 Sep 1998 22:01:51 MDT Newsgroups: comp.lang.ada Date: 1998-09-19T00:00:00+00:00 List-Id: In article <36033452.12702502@SantaClara01.news.InterNex.Net>, tmoran@bix.com (Tom Moran) wrote: > Since you gave no definition for whatever Object might be, it's a > little hard to tell what "This.xyz" might possibly be. If xyz is an > array, then it clearly must have bounds and it's range is defined. If > xyz is a type, and one with indefinite bounds, then obviously you > can't use those undefined bounds as if they had values. Greetings Tom, xyz is an unconstrained array that is declared with a discriminant to constrain it. Since it is of type unconstrained array I just want to know if the RANGE attribute works eg. in a loop. I guess that you are saying YES it does since it does have bounds. The question is if I have an unconstrained array then I can declare many objects of that type with different ranges, so will the RANGE attribute then return different ranges for different objects. Is this legal? It makes sense to me that you are correct. Also, Barnes is confusing on the subject, page 125 of second edition, last paragraph on this topic. Richmond