Difference between revisions of "GetAverage"
Line 1: | Line 1: | ||
{{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. | ||
Line 19: | Line 19: | ||
'''Examples''' | '''Examples''' | ||
− | '' | + | ''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.'' |
− | '' | + | ''createFrequenceDiagram("Civil_status");'' |
'''Availability''' | '''Availability''' |
Revision as of 10:46, 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
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.
createFrequenceDiagram("Civil_status");
Availability
Version 5.4