SetTotal

From Catglobe Wiki
Revision as of 12:53, 26 December 2011 by Cg van (talk | contribs)
Jump to: navigation, search



setTotal

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

Syntax

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

setTotal(false);

bool b = getTotal();

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

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

//Result: Total row is disabled and cannot be shown for table diagrams.

Availability

Version 5.4