Difference between revisions of "Count"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{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 20:
  
 
''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]]

Latest revision as of 06:14, 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);