lua-users home
lua-l archive

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


Hi,

I'm sure someone has asked this before, but I can't find it in the
archives so...

If you use setfenv(0, sometable) to alter the globals for the current
thread, does that affect the top-level only, or also any function
without an otherwise set function environment?

D.

-- 
Daniel Silverstone                       http://www.digital-scurf.org/
Hostmaster, Webmaster, and Chief Code Wibbler: Digital-Scurf Unlimited
GPG Public key available from keyring.debian.org       KeyId: 20687895