摘要:
标示符:字母(letter)或者下划线开头的字母、下划线、数字序列.最好不要使用下划线加大写字母的标示符,因为Lua的保留字也是这样的。Lua中,letter的含义是依赖于本地环境的。保留字:以下字符为Lua的保留字,不能当作标识符。and break do else elseifend false for function ifin local nil not orrepeat return then true untilwhile注意:Lua是大小写敏感的.注释:单行注释:--多行注释:--[[ --]]--[[print(10) -- no action (comment)--]] 阅读全文
posted @ 2014-03-01 10:31
一枚程序
阅读(249)
评论(0)
推荐(0)

浙公网安备 33010602011771号