Difference between revisions of "CountAnswers"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Questionnaire_Functions]]
 

 

  

Revision as of 08:11, 22 March 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