|
On 13.09.2010 4:59, HyperHacker wrote:
This way both expressions would be evaluated before the check is done, thus usually defeating the whole purpose.I guess you could hack up a construct like: a = {true=1, false=2}[b ~= nil]
-- Best regards, Sergey Rozhenko mailto:sergroj@mail.ru