lua-users home
lua-l archive

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


PostScript...

When you add a name space to the dictionary stack, all
definitions are local, while variable lookups go down
through the dict stack (to the global, if not found
before) to find a value.

I'm not saying Lua should behave like this... It's just
an example of what I feel is a quite natural behaviour.

--

  Magnus Lie Hetland      (magnus at hetland dot org)

 "Reality is what refuses to disappear when you stop
  believing in it"                 -- Philip K. Dick