Diferencia entre revisiones de «Módulo:Tablas»

Sin resumen de edición
Sin resumen de edición
Línea 63: Línea 63:
         if v~='' then
         if v~='' then
             copia[k] = original[k]
             copia[k] = original[k]
        end
    end
   
    return copia
end
function z.insertarElementosConValor(origen, destino)
    for k,v in pairs(origen) do
        if v~='' then
            table.insert(destino, v)
         end
         end
     end
     end