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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d83fe9988355b1f3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Request for critics References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.214.35.215 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1143333321 12.214.35.215 (Sun, 26 Mar 2006 00:35:21 GMT) NNTP-Posting-Date: Sun, 26 Mar 2006 00:35:21 GMT Date: Sun, 26 Mar 2006 00:35:21 GMT Xref: g2news1.google.com comp.lang.ada:3616 Date: 2006-03-26T00:35:21+00:00 List-Id: Stephen Leake wrote: > Justin Gombos writes: > >> On 2006-03-22, Maciej Sobczak wrote: >>> Automata : Row_Of_Cells := (Size / 2 => Active, others => >>> Inactive); >> One thing that hasn't been caught yet - Automata should be a constant: >> >> Automata : constant Row_Of_Cells := (Size / 2 => Active, others => Inactive); >> >> because it never changes after its declaration. > > If you turning on all warnings in GNAT (-gnatwa), it will tell you > this automatically. Except it won't in this case, because there is an assignment to Automata. -- Jeff Carter "I spun around, and there I was, face to face with a six-year-old kid. Well, I just threw my guns down and walked away. Little bastard shot me in the ass." Blazing Saddles 40