Hello to all,

I posted a similar question to this a few days ago, but from the answers I got, I realize that I didn't make my question clear. Sorry. I would like to try again.

I want to know if there is a way to use a repeat loop integer to name variables so that a large numer of variables could be set to a value.

For example, suppose I have a variable called "myVariable", and I want to initialize 25 of them to = 150, as in myVariable1 = 150, myVariable2=150...myVariable25=150.

So I want the repeat with loop to supply a unique number to each variable as in:

repeat with i = 1 to 25
   myVariable(i) = 150
end repeat.

Thanks,

George
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to