Skip to content

Instantly share code, notes, and snippets.

@videlais
Created April 13, 2018 02:57
Embed
What would you like to do?
tablefunction.lua
testTable = {}
testTable.newKey = "new value"
function testTable.newFunction()
print("The value is " .. testTable.newKey)
end
testTable:newFunction()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment