Lua 5.4,如何定义全局常量?

使用local修饰的局部变量可以使用<const>

img


img


但去掉local后会出现问题:

img


如何定义全局常量?

Lua 没有 const 这个语法,去掉