[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Bit module function names
- From: Michal Kottman <k0mpjut0r@...>
- Date: Mon, 08 Feb 2010 22:08:24 +0100
On Mon, 2010-02-08 at 12:11 -0800, Majic wrote:
> While you're speaking for everyone, Mr. Donnelly, would you care to
> explain why bit.or(), bit.and(), bit.xor(), etc... is unacceptable
$ lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> bit = { ["and"] = 1 }
> print(bit.and)
stdin:1: '<name>' expected near 'and'
"and" and "or" are reserved words in Lua.