lua-users home
lua-l archive

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


> I'd like to have some way to list recently created Lua globals.
> 
> Something like:
> 
> -- remember current globals
> varset = set_checkpoint()
> .
> -- code goes here

You could make a setglobal which would add to a list variables
set with a previous nil value (ie non existing ones), and register
it at your checkpoint

-- 
Lyrian