1,语法
语句不用分号结尾
function ... end
if .. else .. end
2, io库, string库, table库, OS库, 算术库, debug库
3, dofile来导入库文件内容
4.大小写敏感
5,单行命令 lua -e "print(math.sin(12))"
-l 加载一个文件
-i 进入交互模式
8个基本类型: nil, boolean, number, string, userdata, function, thread, table
多行字符串 [[]]
原文:http://www.cnblogs.com/javametro/p/6943117.html