lua-users home
lua-l archive

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

On 12/21/06, Theodor-Iulian Ciobanu <> wrote:
Hello Leo,
I admit "continue" would simplify the code written, but why not use

for i=0,9 do
        if <continue_condition1> then
                if <continue_condition2> then

Or have I misunderstood your question?

Hi Theodor-Iulian,
I gave my code snippet as a simple illustration. My actual problem is
more complex and does require a meaningful "continue" statement. I
guess that after my "repeat...break...until true" solution was blessed
by Roberto himself, I will keep using it in all my code that requires