Hi.
Now I had another problem. I create a table like the follow:
and useCode:new_table = {}; new_table[1] = {item1="Item 1", item2="Item 2", item3="Item 3"}; new_table[2] = {item1="Item 4", item2="Item 5", item3="Item 6"};
to write the table to a file, but I get a 0 Kb file. While usingCode:TextFiles.WriteFromTable("C:\\TestTable.txt", new_table, false);
I get the trick, but of course write only the element [1] of the new_table.Code:TextFiles.WriteFromTable("C:\\TestTable.txt", new_table[1], false);
I'm totally newbie and I think the problem is that I create
a table for each new_table element, right?
Can someone help me?
Thanks
xry

Reply With Quote