lua-users home
lua-l archive

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


On Tue, 18 Dec 2001, Oscar Lazzarino wrote:

> I have these "special" global variables, which form the execution
> environment for the script. [...]
> [...]
> Can this scheme be implemented without setglobal/getglobal?

Not easily, I'm afraid. We are working on that, related to the problem
of declaration of globals. Probably the final next version will have some
better support for that kind of use.


> I have the (wrong, I hope) sensation that this change will make some
> tricks impossible (example: define a bit-per-bit math to be used in a
> VRML-like environment).

How is this?


> I also assume that the expression "a^b" will mean "a to the power of b"
> out-of-the-box...

No. It will mean pow(a,b), whatever the meaning of "pow" (if a and b are
numbers; otherwise the tag method will be called, as usual).


> I hope lua will never lose its marvelous flexibilty.

We hope that, too.

-- Roberto