|
Yes, see http://doris.sf.net
for an example of a binding which allows you to create GUI widgets using the
table formatting. The example you give below is calling two functions “Game”
and “speech” with a table as an argument: Game
{
To create
a table which you can read data out of you could do the following Game
= { With
approach one, the “Game” fn could create a
game using all of the information in the table passed to it. In example two you
could execute the file containing your Lua table and then iterate over it to
create everything. Have a look at http://lua-users.org/wiki/TutorialDirectory http://lua-users.org/wiki/TablesTutorial Nick -----Original Message----- I'm
new to LUA, and my first Q is for storing project config data... Is
it possible to store data readable from scripts, and also in a unlimited
hierarchal form? E.g.
(bad example) Game
Dave Owens |