Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SetAverage: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Cg van (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Average_functions]]
{{HelpFiles}}



=====setAverage=====
===== setAverage =====


Enables or disables the average row which can be shown for table diagrams.
Enables or disables the average row which can be shown for table diagrams.  


'''Syntax'''
'''Syntax'''  


setAverage(''enabled'')
setAverage(''enabled'')  


'''Arguments'''
'''Arguments'''  


''enabled: '' Is a boolean expression. If true the row will be included, if false the row will not be included
''enabled: '' Is a boolean expression. If true the row will be included, if false the row will not be included  


'''Return type'''
'''Return type'''  


empty
empty  


'''Examples'''
'''Examples'''  


''setAverage(true);''
''setAverage(true);''


'''Availability'''
''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 enabled and can be shown for table diagrams.''
 
''createFrequenceDiagram("Civil_status");''
 
'''Availability'''  
 
Version 5.4 __NOTOC__ <!-- imported from file: 4212.htm-->


Version 5.4
[[Category:Average_functions]]
__NOTOC__
<!-- imported from file: 4212.htm-->

Latest revision as of 09:48, 26 December 2011



setAverage

Enables or disables the average row which can be shown for table diagrams.

Syntax

setAverage(enabled)

Arguments

enabled: Is a boolean expression. If true the row will be included, if false the row will not be included

Return type

empty

Examples

setAverage(true);

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 enabled and can be shown for table diagrams.

createFrequenceDiagram("Civil_status");

Availability

Version 5.4