GetParentIterationName

string GetParentIterationName(int inParentLevel)

Description

Gets a level index within the nested loops structure and returns the name of the current iteration in that loop level.

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inParentLevel Int32 Loop chapter level Index in the Nested Loops structure

 

Return Type

string

Example

Loop chapter B is nested in loop chapter A. Loop A iterates on an answer scale with these values: "aaa", "bbb", "ccc".
Loop A is currently on its second iteration (iteration index 2, "bbb").
Calling GetParentIterationName(1) from inside Loop B, will return "bbb".
"1" is sent as the parameter to the function, because loop A is one level above loop B.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.