20/07/2011
Lua quiz
Explain how this:
...
t = { [123] = 'hello' }
print(string.format('t[%d] = %s', key, tostring(t[key])))
Can output this:
t[123] = nil
Explain how this:
...
t = { [123] = 'hello' }
print(string.format('t[%d] = %s', key, tostring(t[key])))
Can output this:
t[123] = nil