IUserAccessiableCreateMultiIterationsString Method |
This function gets a list of iteration indexes of nested loops, and return this list as a string.
This returned value is to be used in all system loop functions that by default get a single iteration index.
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax string CreateMultiIterationsString(
params int[] inIterations
)
Parameters
- inIterations
- Type: SystemInt32
a list / integers array of iteration indexes of several nested loops
Return Value
Type:
String String
Examples
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.
See Also