lua-users home
lua-l archive

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


Not a lot of people may know this, but Lua addicts who like to use 'and' and 'or' (hey, Lua and Python have got even me used to them) can freak out their C colleagues by #including <iso646.h> (defined in Normative Amendment 1, ie ISO 9899:1995 and later) and then you can use 'and' and 'or' in your C code.

So Lua _does_ use C syntax for its shortcut logical operators. Kinda. :)

drj