[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: boolean operators
- From: Tim Gogolin <tgogolin@...>
- Date: Wed, 20 Sep 2006 16:00:38 -0500
I wrote (in lua) a lua "linting" function that required them. I parse
the byte-code of a compiled chunk. So I had to write some bit-field
extraction helpers in C: argBFromInstruction(), etc.
On Sep 20, 2006, at 3:06 PM, Roberto Ierusalimschy wrote:
Sam Roberts wrote:
Other than lua doesn't have the C boolean operators (&&, ||, !),
I keep forgetting [...]
May I ask you (and others) why you need boolean operators in Lua?
is not a rhetorical question. I really want to know what uses boolean
operators may have in Lua.)