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.66.236.66 with SMTP id us2mr4445384pac.42.1413310976682; Tue, 14 Oct 2014 11:22:56 -0700 (PDT) X-Received: by 10.140.20.175 with SMTP id 44mr107864qgj.4.1413310976423; Tue, 14 Oct 2014 11:22:56 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!uq10no10696859igb.0!news-out.google.com!i10ni87qaf.0!nntp.google.com!dc16no2848766qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 14 Oct 2014 11:22:56 -0700 (PDT) In-Reply-To: <0660a64b-cbd1-4fee-a454-3231351b622c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.37.86.221; posting-account=9fwclgkAAAD6oQ5usUYhee1l39geVY99 NNTP-Posting-Host: 93.37.86.221 References: <0660a64b-cbd1-4fee-a454-3231351b622c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2dc125f5-4cd4-43e3-b23c-95336cdd33d1@googlegroups.com> Subject: Re: Variable initialized to <> From: mockturtle Injection-Date: Tue, 14 Oct 2014 18:22:56 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2005 X-Received-Body-CRC: 3905808663 Xref: news.eternal-september.org comp.lang.ada:22468 Date: 2014-10-14T11:22:56-07:00 List-Id: On Tuesday, October 14, 2014 8:02:42 PM UTC+2, Mab wrote: > What does it mean to initialize variables to an unspecified range <>: >=20 >=20 >=20 > For example: >=20 > Record1: Rec_Type1 :=3D > (ID =3D> <>, > Label =3D> <>, > Active =3D> <>)=20 > I'm aware of <> used in an array definition to indicate unspecified range= but not sure what it means to initialize to a variable as shown above. The= variables above can be of any types. >=20 >=20 >=20 > Thanks Roughly, it means "initialize the component with the default value." See pa= ragraph 19.1/2 of RM 4.3.1 [ http://ada-auth.org/standards/12rm/html/RM-4-3= -1.html ] for the exact wording. This notation allow you to use the defau= lt value for a component in an aggregate (where, I think you know, you must= specify *all* the components). Riccardo