CountAnswer

From Catglobe Wiki
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