Difference between revisions of "GetAverage"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Average_functions]]
+
{{HelpFiles}}  
{{HelpFiles}}
+
 
 +
===== getAverage =====
  
=====getAverage=====
+
Returns the current state of the average row which can be shown for table diagrams.
  
Returns the current state of the average row which can be shown for table diagrams.
+
'''Syntax'''
  
'''Syntax'''
+
getAverage()
  
getAverage()
+
'''Arguments'''
  
'''Arguments'''
+
none
  
none
+
'''Return type'''
  
'''Return type'''
+
boolean
  
boolean
+
'''Examples'''
  
'''Examples'''
+
''createFrequenceDiagram("Civil_status");''
  
 
''bool b = getAverage();''
 
''bool b = getAverage();''
  
'''Availability'''
+
''if (b) print("Average row is enabled and can be shown for table diagrams.");''
 +
 
 +
''else print("Average row is disabled and cannot be shown for table diagrams.");''
  
Version 5.4
+
''//Result: Average row is disabled and cannot be shown for table diagrams.''
__NOTOC__
+
 
<!-- imported from file: 4213.htm-->
+
'''Availability'''
 +
 
 +
Version 5.4 __NOTOC__ <!-- imported from file: 4213.htm-->  
 +
 
 +
[[Category:Average_functions]]

Revision as of 11:44, 26 December 2011



getAverage

Returns the current state of the average row which can be shown for table diagrams.

Syntax

getAverage()

Arguments

none

Return type

boolean

Examples

createFrequenceDiagram("Civil_status");

bool b = getAverage();

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

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

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

Availability

Version 5.4