int GetNumOfTopicsWithValues(int inQuesIdx, int[] inValues)
Description
Returns the number of topics with the given answers in a single choice grid question.
Note: the function will only consider topics that were not set to be invisible
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inQuesIdx | int | Question index |
inValues | int[] | 1 value or more, separated with a comma |
Return Type
int
Example
GetNumOfTopicsWithValues(CurrQues,1,2,3);
will return 4 if index's 1,2,3 are selected in 4 topics
Comments
Please sign in to leave a comment.