CountAnswer

From Catglobe Wiki
Revision as of 08:12, 17 February 2012 by Cg pham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



countAnswer

Counts the number of answers given that fulfill the stated conditions. This differs from the "count" expressions in that each value in the multicolumn will count for one answer, where the "count" function just counts the multi answer as one value.

Syntax

countAnswers(question) where XX

Arguments

none

Return type

number

Examples

//count the number of answers in the data table fulfilling the condition

number n = countAnswer() where (true);

Availability

Version 5.8.1