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.50.7.99 with SMTP id i3mr11696757iga.13.1459843771924; Tue, 05 Apr 2016 01:09:31 -0700 (PDT) X-Received: by 10.182.214.98 with SMTP id nz2mr367649obc.4.1459843771899; Tue, 05 Apr 2016 01:09: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.glorb.com!gy3no308219igb.0!news-out.google.com!ha2ni110igb.0!nntp.google.com!nt3no7896152igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 5 Apr 2016 01:09:31 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=95.173.128.204; posting-account=YB4WOgoAAABLG9D7qoJiPBc6EJSzsPDF NNTP-Posting-Host: 95.173.128.204 References: <1083384c-e798-49a0-903a-718dea4ab131@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0f45b4e1-261a-405e-8d3e-796211ee75bf@googlegroups.com> Subject: Re: Ada 2005,Doubly_Linked_List with Controlled parameter From: George J Injection-Date: Tue, 05 Apr 2016 08:09:31 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:29985 Date: 2016-04-05T01:09:31-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., 10:58:29 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 Dmitry A. Kazakov =D0=BD=D0=B0=D0=BF= =D0=B8=D1=81=D0=B0=D0=BB: > On 05/04/2016 05:00, George J wrote: >=20 > > Ok,thanks,and if I correctly understood,if I have record with > > multiple parameters, i must do it like > > --------------------------------- > > type Info_Record is > > Name:Unbounded_String;--ok > > Surname:Unbounded_String; > > Age:Natural; > > end Info_Record; > > -------------------------------- > > Am I right? >=20 > Or, better, since you never change Name or Surname: >=20 > 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; >=20 > --=20 > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de Wow,I didn't think, that I can do it this way!That's a trick!I'll try it no= w,thanks a lot, Dmitriy!