Module:Sandbox

-- This is a sandbox for testing lua scripts. -- See Extension:Scribunto for more information.

local p = {} function p.f(frame) local r='' local t={} for n,v in frame:argumentPairs do    r=r..n..type(n)..v..type(v)..type(v[1]) r=r..'\n\n' end for n,v in frame:argumentPairs do   table.insert (t,{n,v}) end --   r=r..t[1] r=r..'\n\n' for n,v in pairs(t) do  r=r..n..type(n)..type(v)..type(v[1]) end t={} for n,v in frame:argumentPairs do   t[n]=v r=r..n..type(n)..type(t[1])..type(t[1][1]) r=r..'\n\n' end for n,v in pairs(t) do --r=r..n..type(n)..v..type(v)..type(v[1]) end return r end return p