随笔分类 - Lua
摘要:The Lua language (v5.1)Reserved identifiers and commentsandbreakdoelseelseifendfalseforfunctionifinlocalnilnotorrepeatreturnthentrueuntilwhile-- ...comment to end of line--[=[]=]multi line comment (zero or multiple '=' are valid)_Xis "reserved" (by convention) for constants (with X
阅读全文
摘要:其实在Windows下配置也一样,只是Mac下要注意Lua的安装路径1.点击工具栏,Tool->Build System->New Build System2.在新建的脚本文件中添加以下代码{ "cmd": ["lua", "$file"], "file_regex": "^(?:lua:)?[\t ](...*?):([0-9]*):?([0-9]*)", "selector": "source.lua"}3.ctrl + s将文件保存为lu
阅读全文

浙公网安备 33010602011771号