lua-users home
lua-l archive

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


The documentation on https://www.lua.org/pil/4.4.html specifies that "For syntactic reasons, a break or return can appear only as the last statement of a block (in other words, as the last statement in your chunk or just before an end, an else, or an until).".

Is elseif an unintentional omission, or I should not return anything before an elseif?