comp.lang.ada
 help / color / mirror / Atom feed
From: awdorrin <awdorrin@gmail.com>
Subject: Re: GNAT 4.4.5 order of conditional processing?
Date: Wed, 16 Nov 2011 09:52:17 -0800 (PST)
Date: 2011-11-16T09:52:17-08:00	[thread overview]
Message-ID: <088d92d6-7b50-4556-9af4-aa63233a4092@r9g2000vbw.googlegroups.com> (raw)
In-Reply-To: j9vi06$h8d$1@speranza.aioe.org

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. :-)

Thanks!



  reply	other threads:[~2011-11-16 18:06 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 [this message]
2011-11-16 20:01         ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox