Posted 19 October 2013 - 02:57 PM
Hey guys, I just can't come to understand how to make a table within a table and give it values with out doing it 1 by 1.
I want:
I want:
buttons = {"off" {19,8,22,8}, "enter" {17,5,22,5}, "input" {5,5,17,5}}
So that I can use it like so:
print(buttons["off"[1]]) --buttons["off"] is equal to buttons[1] right?
result = 19
Any help is appreciated!