sergelaurent
Technical User
#I have variable containing :
#array set toto [list {0} {} {1} {tom tim tam} {2} {fom fim fam}]
#I am using a function where I would like to use toto as an #input parameter!!!
proc essai {toto}{
...........
}
essai $toto
#When executing this command, I got an error message telling #me that it can't read toto as it is an array!!!!
So, can someone tell me how I can pass toto as a parameter?
#array set toto [list {0} {} {1} {tom tim tam} {2} {fom fim fam}]
#I am using a function where I would like to use toto as an #input parameter!!!
proc essai {toto}{
...........
}
essai $toto
#When executing this command, I got an error message telling #me that it can't read toto as it is an array!!!!
So, can someone tell me how I can pass toto as a parameter?