Untitled

Run Settings
LanguageLua
Language Version
Run Command
function table_maxn(t) local mn = 0 for k, v in pairs(t) do if mn < k then mn = k end end return mn end tbl = {[1] = "a", [2] = "b", [3] = "c", [26] = "z"} print("tbl 长度 ", #tbl) print("tbl 最大值 ", table_maxn(tbl))
Editor Settings
Theme
Key bindings
Full width
Lines