lua-users home
lua-l archive

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


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.