学习Lua过程中的一些笔记整理. ... Lua 中的变量没有类型,只管赋值即可。 ... do local x = i*2 -- while 中的局部变量print(x) --> 2, 4, 6, 8, ... i = i + 1 end.
確定! 回上一頁