This will be really easy for most of you im sure:


I've got a few variables named like this:

Person1name
person2name
person3name

and

name1
name2
name3


How do i call each one using the same loop?

eg.

n=0
while(n < 6){

Person("n")name = "hi";

n=n+1
}


Thanks very much for this, its been driving me crazy!!!

cheers/