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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.157.11.148 with SMTP id 20mr14023588oth.33.1459905251511; Tue, 05 Apr 2016 18:14:11 -0700 (PDT) X-Received: by 10.157.11.167 with SMTP id 36mr434786oth.17.1459905251451; Tue, 05 Apr 2016 18:14:11 -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.glorb.com!gy3no444694igb.0!news-out.google.com!ha2ni154igb.0!nntp.google.com!gy3no444691igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 5 Apr 2016 18:14:11 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=37.190.52.70; posting-account=YB4WOgoAAABLG9D7qoJiPBc6EJSzsPDF NNTP-Posting-Host: 37.190.52.70 References: <1083384c-e798-49a0-903a-718dea4ab131@googlegroups.com> <8fdba7bf-86a5-4d6e-b212-c670d3fdf9f9@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <846abf65-8806-44c9-a86b-1b49663c38dc@googlegroups.com> Subject: Re: Ada 2005,Doubly_Linked_List with Controlled parameter From: George J Injection-Date: Wed, 06 Apr 2016 01:14:11 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:30002 Date: 2016-04-05T18:14:11-07:00 List-Id: =D0=B2=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 5 =D0=B0=D0=BF=D1=80=D0=B5=D0= =BB=D1=8F 2016 =D0=B3., 19:22:49 UTC+3 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE= =D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Jeffrey R. Carter =D0=BD=D0=B0=D0=BF= =D0=B8=D1=81=D0=B0=D0=BB: > On 04/05/2016 01:35 AM, George J wrote: > > ... > >> type Info_Record > >> (Name_Length : Positive; Surname_Length : Positive) is > >> record > >> Name : String (1..Name_Length); > >> Surname : String (1..Surname_Length); > >> Age : Natural; > >> end Info_Record; > > > > I do it this way, and I have to change Doubly_Linked_List(Info_Record) = to > > Indefinite_DoublY_Linked(Info_Record) cause of error:"unconstrained sub= type in component declaration". Am I right? Or may be it's any way to use D= oubly_Linked_List? And,BTW, I'm afraid of using Indefinite List cause I thi= nk,that it can request much more memory, than Doubly_C_L,isn't it? >=20 > Yes, you'd have to use the indefinite version for such a type, but it's n= othing=20 > to worry about. >=20 > --=20 > Jeff Carter > "Nobody expects the Spanish Inquisition!" > Monty Python's Flying Circus > 22 Thanks,JeffreY!