CountAnswer

From Catglobe Wiki
Revision as of 09:58, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(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