Diferencia entre revisiones de «Módulo:Tablas»
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 16: | Línea 16: | ||
end | end | ||
if type(v)=='table' then | if type(v)=='table' then | ||
resultado = resultado .. identacion .. k2 ' = {' .. z.tostring(v,identacion .. ' ') .. identacion .. '}' | resultado = resultado .. identacion .. k2 .. ' = {' .. z.tostring(v,identacion .. ' ') .. identacion .. '}' | ||
elseif type(v)=='string' then | elseif type(v)=='string' then | ||
resultado = resultado .. identacion .. k2 .. ' = "' .. v .. '"' | resultado = resultado .. identacion .. k2 .. ' = "' .. v .. '"' | ||