string CreateMultiIterationsString(params int inIterations)
This function gets a list of iterations indexes of nested loops, and returns this list as a string.
This returned value is to be used in all system loop functions overloads (that by default get a single iteration index)
The following is a list of parameters the functions receives
|inIterations||Int||list / array of iterations indexes (per the Nested Loops levels)|
Loop chapter B is nested in loop chapter A. CreateMultiIterationsString(3, 2) will return this string: "3, 2", that I can later use to pull values from loop questions.
For instance, AnswerIter(QRef(3), CreateMultiIterationsString(3, 2)) will give me the answer of question index 3 that was coded while loop A was on iteration index #3 and loop B was on iteration index #2.