Diferencia entre revisiones de «Módulo:Tablas»
Deshecha la edición 78598705 de Juan Mayordomo (disc.) |
Sin resumen de edición |
||
| Línea 7: | Línea 7: | ||
for k,v in pairs(tabla) do | for k,v in pairs(tabla) do | ||
if type(v)=='table' then | if type(v)=='table' then | ||
resultado = resultado .. identacion .. k .. ': {' .. mostrar(v,identacion .. ' | resultado = resultado .. identacion .. k .. ': {' .. mostrar(v,identacion .. ' ') .. '}' | ||
elseif type(v)=='string' then | elseif type(v)=='string' then | ||
resultado = resultado .. identacion .. k .. ': "' .. v .. '"' | resultado = resultado .. identacion .. k .. ': "' .. v .. '"' | ||