Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Nested tables lesson
- local table1 = {1, 4, 7}
- local table2 = {2, 5, 8}
- local table3 = {3, 6, 9}
- local tables = {table1, table2, table3} --Register tables ALWAYS AFTER you put the tables.
- print(tables[2][3]) --Outputs 8
Advertisement
Add Comment
Please, Sign In to add comment