AnswerChoiceSelectionIter

DVar AnswerChoiceSelectionIter(int inQuesIdx, int inTopicIdx, int inChoiceIdx, int inIter)

Description

Relevant for multiple selection grid questions. Returns the index of the answer that was chosen in a specific choice order in the specific topic under a specific iteration

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIdx Int32 Question Index
inTopicIdx Int32 Topic Index
inChoiceIdx Int32 Choice order index
inIter Int32 Iteration Index

Return Type

DVar

Example

AnswerChoiceSelectionIter(QRef(1),4,2,3) - the following code will return the index of the second answer that was selected in topic index 4 in question 1, under the 3rd iteration

Overloads

List of overloads for this function

DVar AnswerChoiceSelectionIter(int inQuesIdx, int inTopicIdx, int inChoiceIdx, string inIter)

Parameters for overloads:

Parameter Type Description
inQuesIdx Int32 Question Index
inTopicIdx Int32 Topic Index
inChoiceIdx Int32 Choice order index
inIter string Iterations Indexes (Nested Loops)

 

 

 

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.