lua-users home
lua-l archive

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



On Feb 25, 2005, at 10:46, Chris Chapman wrote:

Specifically I was trying to write code which took an arbitrary table
and output a .lua file which, if executed, would reload that table.

Done that recently in my own quirky way:

http://dev.alt.textdrive.com/file/lu/LUMap.lua

The relevant methods are load() and store()

Alternatively, you may want to check chapter 12.1 of Programming in Lua.

HTH.

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/