表格格式为 INT STRING INT INT INT INT INT Id Desc Type SceneId OpenId MaxPliesp ClearancePlies 第1关 - 第2关 第3关 1.先给出用到的字符串处理函数代码 --字符串分割函数 --传入字符串和分隔符,返回分割后的table function string.split(str, delimiter) if str==nil or str=='' or delimiter==nil then return nil
简介 ZeroBrane Studio是一款支持代码提示.语法高亮.远程调试.代码分析.调试等功能的轻量级Lua IDE工具.可以去官网studio.zerobrane.com进行下载. 自动补全功能 这里说的是如何让你的代码进行自动补全. 首先进入interpreters文件夹新建一个lua脚本文件配置你的库的执行文件. local exefile="执行文件路径" local resourcePath="资源路径" return { name =
). if then else if a < then b = else b = end ). if elseif else then if a < then b = elseif a == then b = else b = end ). while local i= while a[i] do print(a[i]) i = i + end ). repeat repeat line = io.read() until line ~= "" --直到until的条件为真