[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Array Logical Operators
- From: Geoff Leyland <geoff_leyland@...>
- Date: Sat, 22 Oct 2011 15:11:56 +1300
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:
http://lua-users.org/lists/lua-l/2010-02/msg00616.html
I thought this was documented somewhere, but I can't find it from a quick look at the 5.1 or 5.2 LRM