[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How to find new variables
- From: "Maciej Maczynski" <macmac@...>
- Date: Thu, 15 Jun 2000 11:36:19 -0000
Hi,
I'd like to have some way to list recently created Lua globals.
Something like:
-- remember current globals
varset = set_checkpoint()
..
-- code goes here
..
..
-- and now, I'd like to have the listing of new globals compared with
"varset"
print_new_globals( varset )
I know, I can call foreachvar in set_checkpoint, store the names and compare
them agains currently
defined globals in print_new_globals. But, I'm pretty sure you know better
solution...
Maciej