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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,608011466ae2af71 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.227.67 with SMTP id ry3mr674380pbc.8.1341265893246; Mon, 02 Jul 2012 14:51:33 -0700 (PDT) Path: l9ni10711pbj.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: GNAT and Dimension Checking Date: Mon, 2 Jul 2012 14:51:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <2afdc8e6-def0-4a00-8535-4db40165fc92@googlegroups.com> <3c38572a-c06c-4b58-9405-ece43483b3cd@googlegroups.com> <1faa831a-4f86-4448-896f-5f8a399e52ee@googlegroups.com> NNTP-Posting-Host: 149.32.224.34 Mime-Version: 1.0 X-Trace: posting.google.com 1341265893 4918 127.0.0.1 (2 Jul 2012 21:51:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 2 Jul 2012 21:51:33 +0000 (UTC) In-Reply-To: <1faa831a-4f86-4448-896f-5f8a399e52ee@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=149.32.224.34; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-02T14:51:32-07:00 List-Id: On Monday, July 2, 2012 1:58:41 PM UTC-7, Adam Beneschan wrote: > On Monday, July 2, 2012 1:42:04 PM UTC-7, Anh Vo wrote: > > On Sunday, July 1, 2012 3:44:19 AM UTC-7, (unknown) wrote: >=20 > >=20 > > type Mks_Type is new Long_Long_Float > > with > > Dimension_System =3D> ( > > (Unit_Name =3D> Meter, Unit_Symbol =3D> 'm', Dim_Symbol = =3D> 'L'), > > (Unit_Name =3D> Kilogram, Unit_Symbol =3D> "kg", Dim_Symbol = =3D> 'M'), > > (Unit_Name =3D> Second, Unit_Symbol =3D> 's', Dim_Symbol = =3D> 'T'), > > (Unit_Name =3D> Ampere, Unit_Symbol =3D> 'A', Dim_Symbol = =3D> 'I'), > > (Unit_Name =3D> Kelvin, Unit_Symbol =3D> 'K', Dim_Symbol = =3D> "Theta"), > > (Unit_Name =3D> Mole, Unit_Symbol =3D> "mol", Dim_Symbol = =3D> 'N'), > > (Unit_Name =3D> Candela, Unit_Symbol =3D> "cd", Dim_Symbol = =3D> 'J')); > >=20 > > Can anyone point me to the ARM 2012 paragraph(s) which supports this s= yntax in general. Thanks. >=20 > 13.1.1(38): "Implementations may support implementation-defined aspects. = The aspect_specification for an implementation-defined aspect may use an im= plementation-defined syntax for the aspect_definition, and may follow imple= mentation-defined legality and semantics rules." >=20 > -- Adam Ah I got it now. Thanks very much Adam. Anh Vo