Diferencia entre revisiones de «Módulo:Argumentos»
m 1 revisión importada |
wikitves>-sasha- Arreglo para cuando el argumento solicitado sea un índice, para parámetros sin nombrar. |
||
Línea 132: | Línea 132: | ||
elseif type(list) == 'table' then | elseif type(list) == 'table' then | ||
for num, val in ipairs(list) do | for num, val in ipairs(list) do | ||
if type(val) == 'string' then | if type(val) == 'string' or type(val) == 'number' then | ||
key = z.obtenerValorDeArgumentos(val) | key = z.obtenerValorDeArgumentos(val) | ||
elseif type(val) == 'function' then | elseif type(val) == 'function' then |