lua-users home
lua-l archive

Re: New scoping rule for "repeat" and "continue" patch

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Sep 29, 2005 at 12:24:22AM -0500, Rici Lake wrote:
> I guess it depends on how many lines separate the 'do {' from the '} 
> while(0)'. The examples I was thinking of had several pages of 
> intervening code.
Typically, I'd try to break the error handling into a parent function
if I need that much code. If there are several pages, I think both
goto and do/while are unclear--it pushes whatever I'm cleaning up
from what created it too far apart.
-- 
Glenn Maynard

AltStyle によって変換されたページ (->オリジナル) /