From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: Request for critics
Date: Sun, 26 Mar 2006 00:35:21 GMT
Date: 2006-03-26T00:35:21+00:00 [thread overview]
Message-ID: <dllVf.883471$xm3.349557@attbi_s21> (raw)
In-Reply-To: <u7j6ioc85.fsf@toadmail.com>
Stephen Leake wrote:
> 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.
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
prev parent reply other threads:[~2006-03-26 0:35 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
2006-03-26 0:35 ` Jeffrey R. Carter [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox