[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Son of Lua - Sol
- From: Edgar Toernig <froese@...>
- Date: Wed, 31 Jan 2001 21:15:51 +0100
Hi,
"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
> end
>
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?
Ciao, ET.