Modulo:Discendenza: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
sistemazione stringhe |
mNessun oggetto della modifica |
||
Riga 21:
if (px) then
if (pers[nx]) then
err = string.format('inserito id = <b>%d
else
pers[nx] = { padre = px, testo = dati[m-1], nota = dati[m], id = -1, x = -1, y = -1, sp = 0, figli = {} }
end
else
err = string.format('inserito id genitore = <b>%s</b> non numerico
end
else
err = string.format('inserito id
end
resto = n-m
Riga 286:
capo = i
else
err = string.format('inseriti più elementi come capostipite (id
end
else
if (v.padre == i) then
err = string.format('
elseif (pers[v.padre]) then
table.insert(pers[v.padre].figli,i)
else
err = string.format('inserito id genitore = <b>%d</b> non valido
end
end
Riga 309:
calcolaX3(capo, 0)
else
err = '
end
end
|