摘要: 一、注释 1.单行 --print("hello") 2.多行 --[[ print("hello") print("hello") print("hello") --]] 二、数据类型 1.nil 无值 可以用作清空数据 2.boolean false true nil 判断时为false 3.n 阅读全文
posted @ 2020-03-16 10:54 富坚老贼 阅读(179) 评论(0) 推荐(0)
摘要: 1.下载 http://luadist.org/ 2.配置环境变量 解压后配置环境变量 C:\lua\bin 3.测试 4.vscode安装lua 5.helloworld print("hello") 6.vscode上好用的lua插件 (1) 它的功能有 转到定义,查找引用,鼠标悬停,诊断,智能 阅读全文
posted @ 2020-03-16 10:38 富坚老贼 阅读(123) 评论(0) 推荐(0)