Posted 31 May 2014 - 07:28 PM
Hello everyone!
I am working on a program and I was wondering if I could specifically get a value from a table if I know the index. For example:
I know the index and I know what value I want to use, but how can I say that in Lua? (I want to know what the third value in that table is for example)
I am working on a program and I was wondering if I could specifically get a value from a table if I know the index. For example:
Table = {}
Table[index] = {"1", "2", "3", "4"}
I know the index and I know what value I want to use, but how can I say that in Lua? (I want to know what the third value in that table is for example)