[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "or" shortcut does not work - but why?
- From: Andreas Rozek <Rozek@...>
- Date: Sat, 16 Jun 2007 17:51:37 +0200
Thanks for the quick reply - I applied the patches mentioned on
the given web page but they didn't affect my problem (well, to
be honest, I also did not expect that)
Currently, I'm checking ttisnil and its companions - perhaps, I
am able to locate the problem there...
>> local Result = false; -- you could also use "nil" here
>> Result = Result or "anything else";
>> io.stdout:write("Result = '"..tostring(Result).."'");
>>
>> yields "false" (or "nil", resp.) rather than "anything else"
>
>Perhaps this is related to this bug, which apparently only surfaces in
>Windows: http://www.lua.org/bugs.html#5.1.2-2
Andreas Rozek Phone: ++49 (7031) 436 5784
Brunnenstraße 30/2 Mobile: ++49 (151) 172 879 18
D-71032 Böblingen EMail: Andreas.Rozek@gmx.de
Germany URL: http://www.Andreas-Rozek.de