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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d06abf6ce01ec73d X-Google-Attributes: gid103376,public From: "Kevin J. Weise" Subject: Re: Newbie question (Range Specifiers) Date: 1996/06/20 Message-ID: <4qbvma$ajd@michp1.redstone.army.mil>#1/1 X-Deja-AN: 161231453 references: <31C884CE.24DD@vzcorp.com> content-type: text/plain; charset=us-ascii organization: Redstone Arsenal, Alabama mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 1.22 (Windows; I; 16bit) Date: 1996-06-20T00:00:00+00:00 List-Id: "Sandeep V. Kharkar" wrote: >Hi, > > I've recently started studying the Ada95 language. > First experience with Ada... > > In the book I found a grammer rule for range specifiers > which goes > > range_spec ::= name ' range ( static_expression ) > > but I found no examples of the use of this grammer rule. > > What is this syntax used for ?? > > I figure that the [name'range] means the range > of the variable name. But what interpretation does the > braketed static expression have on the range ?? >-- I've been in this business long enough that the region in my brain previously occupied by the Ada83 LRM has been recovered and filled with application-specific trivia; there isn't enough room left to memorize the Ada95 LRM. But in a brief scan of the Ada95 RM (principally in Annex P, the Syntax Summary and the Syntax Cross Reference), I couldn't find the nonterminals or the production you specified above. Can you please come back with a specific reference (i.e., document, section, page number, whatever) where you found this beastie? I'd love to dig into it & find the answer myself. ---------------------------------------------------------------------------------- Kevin J. Weise kweise@c3i-ccmail.sed.redstone.army.mil COLSA Corporation voice: (205) 842-9680 Huntsville, AL Serving the U.S. Army Missile Command, Software Engineering Directorate standard disclaimers apply...