Difference between revisions of "SetMedian"
Cg huyphong (talk | contribs) |
|||
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 11: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