if语句格式 if a<b then return a else return b end
字符串和数值转换函数 tonumber, tostring 声明变量记得加local
local o = {["x"]=2,}; return o[x];
print(10 .. 20) 字符串拼接操作符,数值按字符串拼接需要空格,不然'..'按照小数点解释。
Posted in: redis
Comments are closed.
国外VPS推荐
Comments are closed.