CountAnswers: Difference between revisions
From Catglobe Wiki
More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Questionnaire_Functions]] | [[Category:Questionnaire_Functions]] | ||
ο»Ώ | ο»Ώ{{HelpFiles}} | ||
====countAnswers==== | ====countAnswers==== |
Revision as of 09:45, 12 December 2011
ο»Ώ
countAnswers
Returns the number of selected answers belonging to the specified question.
Syntax
countAnswers(question)
Arguments
question: Is a question object.
Return type
number
Examples
//get the number of animals types the user has. //DomesticAnimal is a multi-answer question for asking
//animal types userβs got.
number n = countAnswers(DomesticAnimal);
Availability
Version 4.8