Difference between revisions of "SetMedian"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:Median functions]]

+
{{HelpFiles}}
  
 
=====setMedian=====
 
=====setMedian=====
Line 21: Line 21:
  
 
''setMedian(true);''
 
''setMedian(true);''
 +
 +
''bool b = getMedian();''
 +
 +
''if (b) print("Median row is enabled and can be shown for table diagrams.");''
 +
 +
''else print("Median row is disabled and cannot be shown for table diagrams.");''
 +
 +
''//Result: Median row is enabled and can be shown for table diagrams.''
  
 
'''Availability'''
 
'''Availability'''

Latest revision as of 12:58, 26 December 2011



setMedian

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

Syntax

setMedian(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

setMedian(true);

bool b = getMedian();

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

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

//Result: Median row is enabled and can be shown for table diagrams.

Availability

Version 5.4