Re: require ignores setglobals()
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: require ignores setglobals()
- From: "Peter Hill" <corwin@...>
- Date: Fri, 7 Feb 2003 18:41:41 +0800
Wim Couwenberg:
> Bottom line: globals tables are only inherited at function _definition_,
> not at function _call_ (unless of course explicitly changed by a
> setglobals call.)
So global table allow a sort of 'local' globals for a function? Ie, global
variable references in a setglobal-ed function have the same scope as
locals? Sort of do-it-yourself local variables?
*cheers*
Peter Hill.