I'm trying to run a fast loop 81 times and, during each loop, set a global value (loops index - 1 to 81) to an alterable value of active objects which are all named "field 1" to "field 81".
This is the first half : Chose value : LoopIndex("name of the loop")
What I would like to do not, in the expression calculator is select a value of an object that has the current loop index in it's name : value1("field" + "LoopIndex(name of the loop").
I tried using the Str$ in front of the bracket :
Str$("field" + "LoopIndex(name of the loop")
and, just in case, in front of all brackets :
Str$("field"+Str$(LoopIndex("name of the loop"))
, but it just doesn't seem to work that way.
Could anyone help me out here?
The result should be : Set "Value 1" to value1("field 1"), Set "Value 2" to value2("field 2") etc. until the final loop (81 in this case) ends.