Get it, a real basic, as in REALBasic Question.... 
I'm just a beginner, but I seem to be doing fine...
anyways, I need some help... I have a whole bunch of edit fields (EditField1 - EditField167), and I need to pull out all of .text values, and put them into some other variables... I've already created the variables and all, and need to know if there's an easy way to do this... I know that this will work:
nField(0) = EditField1.Text
nField(1) = EditField2.Text
nField(2) = EditField3.Text
... so on, and so forth...
Now, is there any way to use the For command to make this all easy, by doing something like this:
For n1 = 1 to 167
nField(n1-1) = EditField(str(n1)).text
Next
I tried it, but I can't figure out a way to control the EditField number with an integer like that... Does anybody know how to get this to work... It will really cut down on how much work I have to do, and it will definately give me more insight to what I'm doing. Thanks!
I'm just a beginner, but I seem to be doing fine...
anyways, I need some help... I have a whole bunch of edit fields (EditField1 - EditField167), and I need to pull out all of .text values, and put them into some other variables... I've already created the variables and all, and need to know if there's an easy way to do this... I know that this will work:
nField(0) = EditField1.Text
nField(1) = EditField2.Text
nField(2) = EditField3.Text
... so on, and so forth...
Now, is there any way to use the For command to make this all easy, by doing something like this:
For n1 = 1 to 167
nField(n1-1) = EditField(str(n1)).text
Next
I tried it, but I can't figure out a way to control the EditField number with an integer like that... Does anybody know how to get this to work... It will really cut down on how much work I have to do, and it will definately give me more insight to what I'm doing. Thanks!