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.1 required=5.0 tests=BAYES_20,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!info-ada From: Bryan@SU-SIERRA.ARPA (Doug Bryan) Newsgroups: net.lang.ada Subject: anonymous array types and record components Message-ID: <8602120210.AA01239@ucbvax.berkeley.edu> Date: Tue, 11-Feb-86 20:54:27 EST Article-I.D.: ucbvax.8602120210.AA01239 Posted: Tue Feb 11 20:54:27 1986 Date-Received: Thu, 13-Feb-86 01:01:32 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet List-Id: Hi all... One of my students asked me a question the other day that I could not answer. Since this does not happen too often, I got out a few reference books and started digging. I still don't have a good answer! Here is the question... X : array (1 .. 10) of Integer; Using an anonymous array type for an object declaration is valid. type R is record X : array (1 .. 10) of Integer; end record; Using an anonymous array type for the component of a record is invalid. Why? What is the rational for disallowing anonymous array types for record components? Any hints would be appreciated. doug bryan -------