在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
function printTableItem(k, v, level) for i = 1, level do io.write(" ") end io.write(tostring(k), " = ", tostring(v), "\n") if type(v) == "table" then if not tablePrinted[v] then tablePrinted[v] = true for k, v in pairs(v) do printTableItem(k, v, level + 1) end end end end printTableItem("_G", _G, 0)
|
请发表评论