lua-users home
lua-l archive

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


Hi,

> Well, that is what I do now as a kind of kludge. But that is not exactly
> right, unless lua can handle constructs like:
> 
> return if foo then
> return a
> else
> return b
> end
> 
> But surely, if this is a feature that is helpful, we can do better...

And where would the value of foo, a and b come from? What is the kind of
semantics you are looking for?

Regards,
Diego.