[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: global environment special case
- From: "John Belmonte" <jvb@...>
- Date: Fri, 21 Apr 2000 00:09:17 +0900
Roberto Ierusalimschy wrote:
>
> (Another advantage of using a table for globals: you can change the whole
> global environment with a simple assignment.)
>
That sounds like a paradox... a simple assignment to what? I don't think
the global table variable itself can exist as a global. For this reason I
suggested a getter function globaltable(). However if it works out that the
implementation can handle a non-constant global table efficiently, then you
could provide for switching with a get/setglobaltable() pair.
-John Belmonte