[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Son of Lua - Sol
- From: Edgar Toernig <froese@...>
- Date: Wed, 31 Jan 2001 21:15:51 +0100
"Russell Y. Webb" wrote:
> b = 10
> c = 1
> function test(x)
> global c;
> b = "this does not change the global";
> c = "but this does";
> print(10); -- this uses the read access to globals
I thought about this myself. But it complicates the parser a lot.
(Especially: a,b,c,d=foo4() where a and d are new locals, b an old
local and c a global). And you may get some strange semantics.
Are your patches anywhere to have a look at?