Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

variable array name

Status
Not open for further replies.

lanelouna

Programmer
Dec 19, 2002
71
GB
hello everybody
I have a question please
has anyone created an array with a name that is created dynamically
is it possible to do something similar to:
for p = 1 to counter
myArray & p()
next p

thank you
Lanelouna
 
Hello
thank you for your answer
i can not have a two dimensional array,if the length of the array vary, no?
for example a two dimensional array containing such info:
A B C
M N P Q
E F G

well but i think i found a solution inspired from your suggestion
i am going to use an array of arrays
so i will have at the end
[[A, B, C],[M, N, P, Q],[E, F, G]]
and for example
myarray(0)(1) = B
i can t think of any otherway

Regards
Lina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top