lua-users home
lua-l archive

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


On Thursday 27 January 2011 12:06:57 Philippe Lhoste wrote:

> Well, will that execute the cond and exit if not satisfied?
> Why not do:
> 
>    while cond do :process_item:
> 
>                     break :process_item:
> 
>    end
> 
> directly?

The preceding satisfies my desire not to have additional if statements and 
levels of indentation.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt