Please, if you ask a question related to a tutorial, quote the part related to your enquiree, and when you answer someone, quoting his question would be nice. Also, make sure your question wasen't answered before posting it, and please, Don't Spam
-------------------------------------------------------------------------------------
Question: When creating a table, we use, for example: "x = { sign = "plus", number = 123, label = "math" }.
print(x.sign) would give us "plus", print(x.number) would give us "123" and print(x.label) would give us "math".
But if we'd want to add a string or number to this table (x), would we have to re-write the whole table inclding our new object (for instance, value = 6)? Because writing simply x = { value = 6 } will erase anything added to that table earlier (sign, number and label) and add value = 6 thus remaining as the only object in the table.
We can construct tables containing other objects, such as the numbers and strings described above, e.g.
> x = { value = 123, text = "hello" }
> print(x.value)
123
> print(x.text)
hello
Question: What is the use of nesting?
Nesting quotes
Only double square brackets allow nesting:
> = [[one [[two [[three]] ]] ]]
one [[two [[three]] ]]