SetVariance: Difference between revisions
From Catglobe Wiki
More actions
jrfconvert import  |
No edit summary  |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{HelpFiles}} | |||
 | |||
=====setVariance===== | ===== setVariance ===== | ||
Enables or disables the variance row which can be shown for table diagrams. | Enables or disables the variance row which can be shown for table diagrams. Â | ||
'''Syntax''' | '''Syntax''' Â | ||
setVariance(''enabled'') | setVariance(''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''' Â | ||
''setVariance(true);'' | ''setVariance(true);'' Â | ||
'' | ''bool b = getVariance();'' Â | ||
Version 5.4 | ''if (b) print("Variance row is enabled and can be shown for table diagrams.");'' | ||
__NOTOC__ | Â | ||
<!-- imported from file: 4214.htm--> | ''else print("Variance row is disabled and cannot be shown for table diagrams.");'' | ||
 | |||
''//Result: Variance row is enabled and can be shown for table diagrams.'' | |||
 | |||
''createCrossDiagram({"Q1"},{"Q11"});'' | |||
 | |||
'''Availability''' | |||
 | |||
Version 5.4 __NOTOC__ <!-- imported from file: 4214.htm--> Â | |||
 | |||
[[Category:Variance_functions]] | |||
Latest revision as of 10:03, 27 December 2011

setVariance
Enables or disables the variance row which can be shown for table diagrams.
Syntax
setVariance(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
setVariance(true);
bool b = getVariance();
if (b) print("Variance row is enabled and can be shown for table diagrams.");
else print("Variance row is disabled and cannot be shown for table diagrams.");
//Result: Variance row is enabled and can be shown for table diagrams.
createCrossDiagram({"Q1"},{"Q11"});
Availability
Version 5.4