From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT 4.4.5 order of conditional processing?
Date: Wed, 16 Nov 2011 20:01:30 +0000
Date: 2011-11-16T20:01:30+00:00 [thread overview]
Message-ID: <m2obwbalb9.fsf@pushface.org> (raw)
In-Reply-To: 088d92d6-7b50-4556-9af4-aa63233a4092@r9g2000vbw.googlegroups.com
awdorrin <awdorrin@gmail.com> writes:
> In this case, the short-circuit logic is necessary based on how the
> code has been structured.
>
> The first conditional, is to see if the simulation is done being
> initialized, the second and third conditionals are variables that
> won't be initialized with valid values until the initialization is
> complete.
>
> Before anyone jumps in to comment on how bad this approach is, I
> already know ;) but I'm dealing with porting code originally written
> 20 years ago. First step is to get it functional, second step is to
> fix/update it. :-)
I for one don't think it's bad; it's the way the problem is.
prev parent reply other threads:[~2011-11-16 20:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-15 20:30 GNAT 4.4.5 order of conditional processing? awdorrin
2011-11-15 20:54 ` Niklas Holsti
2011-11-15 21:07 ` awdorrin
2011-11-15 21:23 ` Vinzent Hoefler
2011-11-15 21:49 ` awdorrin
2011-11-16 21:31 ` Gautier write-only
2011-11-16 22:40 ` Adam Beneschan
2011-11-17 0:00 ` Adam Beneschan
2011-11-15 23:08 ` Jeffrey Carter
2011-11-16 1:18 ` Adam Beneschan
2011-11-16 5:33 ` tmoran
2011-11-16 17:52 ` awdorrin
2011-11-16 20:01 ` Simon Wright [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