来源:lua
浏览 387
扫码
分享
2020-04-25 13:28:38
7.1 – Changes in the Language
- The vararg system changed from the pseudo-argument
arg
with a table with the extra arguments to the vararg expression. (See compile-time option LUA_COMPAT_VARARG
in luaconf.h
.) - There was a subtle change in the scope of the implicit variables of the for statement and for the repeat statement.
- The long string/long comment syntax (
[[*string*]]
) does not allow nesting. You can use the new syntax ([=[*string*]=]
) in these cases. (See compile-time option LUA_COMPAT_LSTR
in luaconf.h
.)
当前内容版权归
lua 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
lua .