[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Locals in global namespace
- From: "Magnus Lie Hetland" <mlh@...>
- Date: Mon, 11 Sep 2000 17:19:52 +0200
I'm just implementing some logic around local variables in jlua, and
that local variables can be declared in the global namescape in lua. Is this
by design or by coincidence?
The manual says that you can declare local variables anywhere in a block,
cannot see that a chunk is defined as a form of block (in the manual)...
(Just wondering if this is something I should consider a stable part of
Magnus Lie Hetland (magnus at hetland dot org)
"Reality is what refuses to disappear when you stop
believing in it" -- Philip K. Dick