Difference between revisions of "Tabulation getCountAnswer"
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{HelpFiles}} | |
− | | ||
− | =====Tabulation_getCountAnswer===== | + | ===== 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. | + | 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''' | + | '''Syntax''' |
− | Tabulation_getCountAnswer() | + | Tabulation_getCountAnswer() |
− | '''Arguments''' | + | '''Arguments''' |
− | none | + | none |
− | '''Return type''' | + | '''Return type''' |
− | boolean | + | boolean |
− | '''Examples''' | + | '''Examples''' |
− | ''bool b = Tabulation_getCountAnswer();'' | + | ''bool b = Tabulation_getCountAnswer();'' |
− | '' | + | ''if (b) print("Count answers row is enabled and can be shown for table diagrams.");'' |
− | Version 5.8.1 | + | ''else print("Count answers row is disabled and cannot be shown for table diagrams.");'' |
− | __NOTOC__ | + | |
− | <!-- imported from file: 8134.htm--> | + | ''//Result: Count answers row is disabled and cannot be shown for table diagrams.'' |
+ | |||
+ | '''Availability''' | ||
+ | |||
+ | Version 5.8.1 __NOTOC__ <!-- imported from file: 8134.htm--> | ||
+ | |||
+ | [[Category:Count_answers_functions]] |
Latest revision as of 10:42, 27 December 2011
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