Click or drag to resize
IUserAccessiableAnsweredIter Method (Int32, String, Boolean)
Returns true if question inQuesIdx was answered in a specific nested loops iterations state.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
bool AnsweredIter(
	int inQuesIdx,
	string inIteration,
	bool inTakeNullIntoAccount
)

Parameters

inQuesIdx
Type: SystemInt32
the question index
inIteration
Type: SystemString
the nested loops iteration indexes list
inTakeNullIntoAccount
Type: SystemBoolean
boolean value indicates whether or not to consider questions that were marked as "null response"

Return Value

Type: Boolean
bool
Examples
Loop chapter C is nested in Loop chapter B that is nested in loop chapter A. All loops chapters iterates a maximal number of 3 iterations each. Question index 10 is a single choice, located inside loop chapter C. AnsweredIter(QRef(10), CreateMultiIterationsString(2, 3, 1), false) will return 'true' if question 10 was answered, while loop A was in iteration index 2, loop B was in iteration index 3 and loop C as in iteration index 1.
See Also