Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How do i get the name of the variable or array
Versions des environnements
hi,
I am in a fix
I have to store the variable/array name into a different array
like
m.foo1 = 0
dimension foo2[4]
function1() that modifys foo1 and foo2
and
container[1] = "foo1"
container[2] = foo1
container[3] = "foo2"
container[4] = foo2[1]
container[5] = foo2[2]
container[6] = foo2[3]
container[7] = foo2[4]
how can i get the name of variable and array ??? keeping it in mind that there are about 65 variables created and function changes only a few of them. SO i check them and if not boolean need to add it to container ....
Is it possible to get the name of the array/variable ?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement