lua-users home
lua-l archive

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


> On a semi-related topic, how do you all indent Lua "if" statements?
> Do you put the "then" on the same line as the "if" or on a line by itself?

    if xxx then
        ...
        ...
    else
        ...
        ...
    end


Love, Light and Peace,

- Peter Loveday
Director of Development, eyeon Software