Created
May 15, 2012 22:11
-
-
Save joehakimrahme/2705525 to your computer and use it in GitHub Desktop.
Programming in Lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t3 = {1, 4, 5, 2, 31} | |
print (t3[3]) -- will output "5" | |
t4 = {a = "foo", b = 3} | |
print (t4.a) -- will output "foo" | |
print (t4.b) -- will output "3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment