From: Stephen Leake <stephe_on_the_web@toadmail.com>
Subject: Re: Request for critics
Date: Sat, 25 Mar 2006 09:00:58 -0500
Date: 2006-03-25T09:00:58-05:00 [thread overview]
Message-ID: <u7j6ioc85.fsf@toadmail.com> (raw)
In-Reply-To: Ti%Uf.147$W75.119@trnddc07
Justin Gombos <rpbkbq.xax.gld@uluv.kbq> writes:
> On 2006-03-22, Maciej Sobczak <no.spam@no.spam.com> 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.
--
-- Stephe
next prev parent reply other threads:[~2006-03-25 14:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-22 10:01 Request for critics Maciej Sobczak
2006-03-22 21:44 ` Gautier
2006-03-22 23:17 ` Jeffrey R. Carter
2006-03-23 1:21 ` tmoran
2006-03-23 4:29 ` Steve
2006-03-24 23:30 ` Justin Gombos
2006-03-25 14:00 ` Stephen Leake [this message]
2006-03-26 0:35 ` Jeffrey R. Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox