Difference between revisions of "Count"

From Catglobe Wiki
Jump to: navigation, search
(count)
Line 1: Line 1:
 
{{HelpFiles}}  
 
{{HelpFiles}}  
  
==== count ====
+
=count =
  
 
Counts the number of rows (typically meaning respondents) in the data table that fulfill the stated conditions.  
 
Counts the number of rows (typically meaning respondents) in the data table that fulfill the stated conditions.  
Line 22: Line 22:
  
 
''number n = count() where (true);''  
 
''number n = count() where (true);''  
 
''print(n);''
 
 
'''Availability'''
 
 
Version 4.8 __NOTOC__ <!-- imported from file: 1638.htm-->
 
  
 
[[Category:Functions_Used_in_where_Expressions]]
 
[[Category:Functions_Used_in_where_Expressions]]

Revision as of 06:13, 22 December 2011



count

Counts the number of rows (typically meaning respondents) in the data table that fulfill the stated conditions.

Syntax

count()

Arguments

none

Return type

number

Examples

//count the number of data rows in the data table

number n = count() where (true);