Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do i get the name of the variable or array
Message
From
16/12/2006 00:16:59
Suhas Hegde
Dental Surgeon
Sirsi, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How do i get the name of the variable or array
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01178248
Message ID:
01178248
Views:
63
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 ?
Next
Reply
Map
View

Click here to load this message in the networking platform