Answer the question
In order to leave comments, you need to log in
How to refer to a value in a table?
I have a table like this:
local table = {
["1 tab"] = "blah 1",
["2 tab"] = "blah 2",
user = {
["1 use"] = "blah 1",
["2 use"] = "blah 2"
}
}
How can I access the values in the user table which is in the table table?
Answer the question
In order to leave comments, you need to log in
Don't call tables table, it's a keyword. In general, table.user["1 use"] == "blah 1"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question