IUserAccessiableSumMulti Method (Int32, Int32, Int32) |
Valid for a Numeric Grid type questions. The function calculates the sum with an offset on a specific question
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax int SumMulti(
int inQuesIdx,
int inOffset,
params int[] inIgnoreAnswers
)
Parameters
- inQuesIdx
- Type: SystemInt32
Question index - inOffset
- Type: SystemInt32
Offset - inIgnoreAnswers
- Type: SystemInt32
Array on answers to ignore
Return Value
Type:
Int32sum
Examples
For question 1 the following code will return the sum (without the ignored answers) with the offset 1 of the answers selected in the question
SumMulti(QRef(1),1,2,4);
See Also