Toggle menu
875
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CountAnswers

From Catglobe Wiki
Revision as of 09:45, 12 December 2011 by Cg_pham (talk | contribs)



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