Forgot to commit the last few days

This commit is contained in:
2025-12-12 06:23:45 +01:00
parent 50ca045070
commit ff3a3309a2
14 changed files with 1850 additions and 2 deletions

View File

@@ -26,3 +26,15 @@ function tablelength(T)
end
return count
end
function print_table(t, indent)
indent = indent or ""
for k, v in pairs(t) do
if type(v) == "table" then
print(indent .. k .. ":")
print_table(v, indent .. " ")
else
print(indent .. k .. ": " .. tostring(v))
end
end
end