lua-users home
lua-l archive

RE: Array Logical Operators

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


 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

AltStyle によって変換されたページ (->オリジナル) /