表达式是条件判断的基础,Lua的表达式同其他语言类似,只是表示方式上有一些变化。 ... 说明,该语句等价于下述代码if not x then x = v end -- 三元表达式,Lua没有 ...
確定! 回上一頁