ImpValori con liste
Answered
Per rendere più veloce la inizializzazione di variabili mi farebbe comodo usare script per impostare il valore degli elementi di liste: una lista contiene i valori di inizializzazione, un'altra contiene i valori delle variabili usate per il controllo di flusso del mio foglio interattivo.
Ora ImpValore[lista1, Lista2] sostituendo tutti i valori di Lista 1 con i rispettivi di lista 2; a me serve però lavorare sui singoli elementi, con un comando che dovrebbe essere
ImpValore[lista1(k), Lista(k)], con k indice variabile
Il comando però, in questa forma, non funziona.
C'è un modo per realizzarlo?
Si può chiedere ai programmatori di implementarlo?
Files:
Imposta element...
As you can see ImpValore does not work if you try to point to an indexed element inside the list: nothing happens
Don't get angry,... actually i don't understand your syntax but may be I'm wrong ..
As far as I know Lista(k) points to the k-th element in that list.
So if I want to set the k-th element in lista1 with rathe corresponding element in Lista I I think I must use both lista1(k) and Lista(k)
If not, please explain to me. Now I'm going to try your syntax
Ok, I was wrong and your syntax works well. Thank you and sorry i didn't understand you suggestion at first.
Can you please tell me where to find the syntax in the manual? I could not find it
Grazie Noel (it looks like you can understand Italian, sorry for my not knowing French)
Comments have been locked on this page!