GetDirection: Difference between revisions
From Catglobe Wiki
More actions
jrfconvert import  |
No edit summary  |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{HelpFiles}} | |||
 | |||
=====getDirection===== | ===== getDirection ===== | ||
Gets the direction of the total calculations which is used when creating diagrams. | Gets the direction of the total calculations which is used when creating diagrams. Â | ||
'''Syntax''' | '''Syntax''' Â | ||
getDirection() | getDirection() Â | ||
'''Arguments''' | '''Arguments''' Â | ||
none | none  | ||
'''Return type''' | '''Return type''' Â | ||
number represented as constants | number represented as constants  | ||
* Diagram_DirectionType_Vertical | *Diagram_DirectionType_Vertical  | ||
* Diagram_DirectionType_Horizontal | *Diagram_DirectionType_Horizontal | ||
'''Examples''' | '''Examples''' Â | ||
''getDirection();'' | ''number n = getDirection();'' | ||
'' | ''if (n == 1) print("Chart Direction is Vertical and can be shown for table diagrams.");'' | ||
Version 5.4 | ''else print("Chart Direction is Horizontal and can be shown for table diagrams.");'' | ||
__NOTOC__ | Â | ||
<!-- imported from file: 4200.htm--> | ''//Result: Chart Direction is Vertical and can be shown for table diagrams.'' | ||
 | |||
'''Availability''' | |||
 | |||
Version 5.4 __NOTOC__ <!-- imported from file: 4200.htm--> Â | |||
 | |||
[[Category:Direction_functions]] | |||
Latest revision as of 10:34, 26 December 2011

getDirection
Gets the direction of the total calculations which is used when creating diagrams.
Syntax
getDirection()
Arguments
none
Return type
number represented as constants
- Diagram_DirectionType_Vertical
- Diagram_DirectionType_Horizontal
Examples
number n = getDirection();
if (n == 1) print("Chart Direction is Vertical and can be shown for table diagrams.");
else print("Chart Direction is Horizontal and can be shown for table diagrams.");
//Result: Chart Direction is Vertical and can be shown for table diagrams.
Availability
Version 5.4