GetShowMode

From Catglobe Wiki
Revision as of 08:24, 27 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



getShowMode

Gets the show mode which is used when creating diagrams

Syntax

getShowMode()

Arguments

none

Return type

number returned as constant

  • 1: Diagram_ShowModeType_Percentage
  • 2: Diagram_ShowModeType_Absolute
  • 3: Diagram_ShowModeType_Both

Examples

number n = getShowMode();

if (n == 1) print("Show mode is Percentage.");

else if (n == 2) print("Show mode is Absolute.");

else print("Show mode is both Percentage & Absolute.");

//Result: Show mode is both Percentage & Absolute.

Availability

Version 5.4