lua-users home
lua-l archive

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

On 22/10/2011, at 3:05 PM, Antonio Scuri wrote:

>> How did you manage to return something other than a boolean from a
>> relational operator?
> Isn't just pushing it to the stack? I didn't tested yet.

The return values get converted to boolean:

I thought this was documented somewhere, but I can't find it from a quick look at the 5.1 or 5.2 LRM