lua-users home
lua-l archive

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


I'm still having some trouble getting persistence to work exactly the way I want it. The latest problem is that I want to be able to save _everything_ in a table, including functions. There doesn't seem to be an easy way to do this. I'm also in need of a way to get the name of a variable into a Lua string.

Then I realized, for this specific application, it would be easier to just flatten and save the entire lua_state, so that the next time you launched the app, the entire script environment would be preserved from before.

I searched the list archives and saw a lot of people asking for this, but no real resolution... Did anyone figure it out? Is it a planned feature?

Thanks very much, you guys are super helpful,

Steven
http://stevenf.com/