Say I have following code (don't mind spelling in code, just to give you an idea)
Code: Select all
Borders = {}
LeftBorders = {}
LeftBorders[1] = 54
LeftBorders[2] = 34
Borders[1] = LeftBorders
How can I acces the value of LeftBorders[1]?
I tried
Code: Select all
print(Borders[1[1]])
to print the value of LeftBorders[1] to the winXP console running the lua emulator, but it gave me an error. Something like: expected ']' near '['
Anyone knows a solution?