Re: voting on GOTO

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jim Brown wrote:
> 
> It is possible to check if a variable is uninitialized. The recommended way
> to deal with for loops is, if you must jump into a for loop, check if the
> variable
> is uninitialized and jump to a label that is right before the the beginning
> of the for loop statement to continue iteration.
> Jumping into for loops is discouraged, however.

That sounds scary.  But I vote yes, I'll just probably never use a goto. It may
have unforseen benefits and the problems are well known (and therefore
avoidable).

Gary

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu