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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ec21c3c7cdc7ff3e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail From: ada_student@yahoo.com Newsgroups: comp.lang.ada Subject: Re: private types Date: 13 Mar 2006 13:07:00 -0800 Organization: http://groups.google.com Message-ID: <1142284020.803807.118390@i39g2000cwa.googlegroups.com> References: <1142279908.327131.230200@j52g2000cwj.googlegroups.com> NNTP-Posting-Host: 202.137.222.207 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1142284027 21985 127.0.0.1 (13 Mar 2006 21:07:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 13 Mar 2006 21:07:07 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50215),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i39g2000cwa.googlegroups.com; posting-host=202.137.222.207; posting-account=3Mg56g0AAACAuN289Qo7AHsl3oqAJBS- Xref: g2news1.google.com comp.lang.ada:3347 Date: 2006-03-13T13:07:00-08:00 List-Id: > > type MyInteger (<>) is private; > Funny, how my copy of the AARM doesnt include this construct in the grammar although ObjectAda points to LRM:3.3.1(5) which states (in my copy) --> "An object_declaration without the reserved word constant declares a variable object. If it has a subtype_indication or an array_type_definition that defines an indefinite subtype, then there shall be an initialization expression. An initialization expression shall not be given if the object is of a limited type."