Lua 编程语言中泛型 for 循环语法格式: --打印数组a的所有值 a = {"one", "two", "three"} for i, v in ipairs(a) do print(i, v) end i是数组索引值,v是对应索引的 ...
確定! 回上一頁