Module:Sandbox/Aidan9382: Difference between revisions

Content deleted Content added
better management
indent test
Line 13:
local depth = depth or 10
local result = result or ""
local indent = indent or 02
local recursion = recursion or {}
result = result .. "Dump start\n"
for a,b in next,t do
--Indent the table
result = result .. "D"..string.rep(" ",indent)
--Represent the key (we dont expand table keys)
if type(a) == "string" then