On Friday 15 August 2008, lex wrote:
> Any solution has to work with gotos present as well as for
> structured code.

   There are a few rare instances in which gotos are necessary, but I'm sure 
you're aware that they're to be avoided otherwise.

> Another example is where there is something like
>
> if (condition 1) {  maybe set x } else if (c2) {maybe set x} else ...
> if (cn) {...},
> followed by a use of x.

   I'm assuming "x" is being used as a status flag.  If that's the case, 
then "x" should have a default setting to start with.  Is there a reason why 
giving "x" a default setting would be the wrong thing to do?  [I read your 
initial thoughts on this, but I don't understand your reasoning.]

   If "x" is not a status variable, then what is it used for?

   -- Chris

-- 

Chris Knadle
[EMAIL PROTECTED]
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
        
  Jun 4 - Sqeak! and eToys
  Jul 2 - KVM (Tenative)
  Aug 6 - Zenos
  Sep 3 - TBD

Reply via email to