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.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,47ce8981a5759f74 X-Google-Attributes: gid103376,public From: jakrzy@ss2.magec.com (James A. Krzyzanowski) Subject: Re: Linked List within a record? Date: 1996/05/07 Message-ID: #1/1 X-Deja-AN: 153892742 sender: usenet@most.fw.hac.com x-nntp-posting-host: ss2 references: <4mjpb7$4gr@pine.cse.nau.edu> organization: Magnavox Electronics Systems Company newsgroups: comp.lang.ada Date: 1996-05-07T00:00:00+00:00 List-Id: Alvin A Begaye (aab@pine.cse.nau.edu) wrote: : Why won't this work : package MyList is new gen_linked_list( Integer, "=" ); : type arggh is record : ID : Integer; : IntList : MyList.List; : end record; : when i compile i get. completion of nonlimited type cannot be limited. : is there a way to do this? I'm assuming type List must be limited private which means that any type that uses type List as a component must also be limited private. type arggh is limited private; private type arggh is ... end; -- Not necessarily the opinion of the company... -- --------------------------------------------------------------------------- James A. Krzyzanowski - Senior Software Engineer - AFATDS Magnavox Electronic Systems Company * Fort Wayne, IN 46808 * (219) 429-6446 Internet: jakrzy@most.fw.hac.com * AOL: JimShiz@AOL.com * MOST: jakrzy@most "I'd rather be right than politically correct !!!" - Rush is Right ---------------------------------------------------------------------------