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.

SetMedian: Difference between revisions

From Catglobe Wiki
No edit summary
Cg van (talk | contribs)
No edit summary
 
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 10: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