Tabulation getCountAnswer

From Catglobe Wiki
Jump to: navigation, search



Tabulation_getCountAnswer

Returns the current state of the count answers row, which can be shown for table diagrams. The value of the row tells us how many answers were given to the question. This may be the same as the total number of respondents, but given that the question type is multi, it may also be that it was more than this, since each respondent then can give more than one answer to one question.

Syntax

Tabulation_getCountAnswer()

Arguments

none

Return type

boolean

Examples

bool b = Tabulation_getCountAnswer();

if (b) print("Count answers row is enabled and can be shown for table diagrams.");

else print("Count answers row is disabled and cannot be shown for table diagrams.");

//Result: Count answers row is disabled and cannot be shown for table diagrams.

Availability

Version 5.8.1