I want to save some data as
Code: Select all
tablData = { -- table of values
b="yes",
d="text",
c=false,
a=true,
e={2, 3, 4, true, "text"}, -- list of values
[1]=1,
[2]=true,
[3]=false,
[4]="text",
true="yes",
false="no",
}
Code: Select all
1 1
2 true
3 false
4 text
b yes
true yes
false no
d text
c true
a true
e 2 3 4 true text
and here is an example how to do it: