lua错误
attempt to concatenate field '?' (a nil value)
attempt to concatenate a nil value (field '?')
attempt to perform arithmetic on field '?' (a nil value)
attempt to perform arithmetic on a nil value (field '?')
问号说明是变量作为属性下标,但是这个下标里没有对象
local t = {} --table
t.Abc = 'hello'
local i = 'abc' --下标错误,第一个字母错
local str = 'print ' .. t[i] --attempt to concatenate field '?' (a nil value)
local num = 5 + t[i] --attempt to perform arithmetic on field '?' (a nil value)