lua-users home
lua-l archive

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


Asko Kauppi wrote:
The only downside I have with it, is that a global being used (set up by 'rawset') may never, ever, be given 'nil' as a value.

This caught me out quite a bit, too.  I ended up getting into the
habit of using 'false' as an undefined value for globals, though
that's a little gross.

--Adam
--
Adam D. Moss   . ,,^^   adam@gimp.org   http://www.foxbox.org/   co:3