lua-users home
lua-l archive

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


The manual describes what happens when a global variable is assigned, which
is exactly what happens when the "setglobal" *function* is called.
The code given is a sample implementation of the "setglobal" *function*;
embedded in it is the semantics of the "setglobal" *tag method*, which has
a different signature. The confusion comes from this: the code is not for
a sample "setglobal" *tag method* but for the "setglobal" *function*.

Sorry about that. We'll have to see how the manual can be improved.
Suggestions welcome.
--lhf