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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.36.138 with SMTP id f132mr754263ita.3.1466811933070; Fri, 24 Jun 2016 16:45:33 -0700 (PDT) X-Received: by 10.157.11.173 with SMTP id 42mr160877oth.10.1466772571844; Fri, 24 Jun 2016 05:49:31 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.fcku.it!peer01.fr7!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!jk6no342967igb.0!news-out.google.com!i62ni1840ith.0!nntp.google.com!jk6no342961igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 24 Jun 2016 05:49:31 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=198.135.236.252; posting-account=ENgozAkAAACH-stq5yXctoDQeZQP2E6J NNTP-Posting-Host: 198.135.236.252 References: <66c14298-c62d-4f4b-b0c0-e969454f9334@googlegroups.com> <2e39857a-7121-476b-807a-d2bff1e598f4@googlegroups.com> <431af616-7df3-4e4d-9262-26ed68cb74c7@googlegroups.com> <037df2b8-b9c4-4447-87ee-cc89d7072b30@googlegroups.com> <15914c54-191c-4f37-b754-282855d1aeaf@googlegroups.com> <3e25c9a0-469c-4487-b78e-6f87434f87fa@googlegroups.com> <2e69ca6f-484c-4d58-b0fe-d17a744b1418@googlegroups.com> <9ada1cdc-2fbd-4009-99f1-aba71ac1b9d2@googlegroups.com> <2954ae98-c4a0-4089-93bc-97854e009785@googlegroups.com> <581cb97c-9d81-4a81-9a05-eed0516ce287@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <689e8b26-3ece-4d72-8992-d42b04fab3b4@googlegroups.com> Subject: Re: Generic Embedded List Nodes From: Warren Injection-Date: Fri, 24 Jun 2016 23:45:33 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Received-Body-CRC: 378676054 X-Received-Bytes: 2941 Xref: news.eternal-september.org comp.lang.ada:30909 Date: 2016-06-24T05:49:31-07:00 List-Id: On Thursday, 23 June 2016 11:36:25 UTC-4, Niklas Holsti wrote: > My example had two embedded list nodes in the object, so the object=20 > could be a member of two lists. You can define as many nodes as you=20 > like, in the same record type, at the same time. Sorry, yes I see it now. > type Integer_Object_T;=20 > > type Integer_Emb_Node_T (Obj : access Integer_Object_T)=20 > is new Emb_Node_T with null record;=20 I think when I had tried to do this, I had the chicken and egg problem. But= I see you used the forward undefined type mechanism. I may explore this fu= rther at some point-- it certainly seems to solve the problem as I laid it = out. I just need to find some quiet time. Thanks for the help. Warren