[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Array Logical Operators
- From: "Antonio Scuri" <scuri@...>
- Date: Sun, 23 Oct 2011 00:45:36 -0200
Thanks for pointing that message. Indeed I did not find anything in the
documentation about that.
Best,
Scuri
> >> 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