I wanted to do a function that does type alg as the thing below
for i in pairs(v) do
if type(v[i])=="table" then
for j in pairs(v[i]) do
if type(v[i][j])=="table" then
print("...")
else
print(i,j,v[i][j])
end
end
else
print(i,v[i])
end
end
but that works for undefined numbers of tables within others, type 2, 3, 4, 5}, {6}, 7}, {8}, 9}
Is it possible to do a function for this?
link --example quoted above xP