More actions
jrfconvert import |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{HelpFiles}} | |||
| |||
====AxisSet_axisExists==== | ==== AxisSet_axisExists ==== | ||
Returns true if an axis exists with the name passed as argument to the method and false otherwise. | Returns true if an axis exists with the name passed as argument to the method and false otherwise. | ||
'''Syntax''' | '''Syntax''' | ||
AxisSet_axisExists(''name'') | AxisSet_axisExists(''name'') | ||
'''Arguments''' | '''Arguments''' | ||
''name'': Is a string expression. | ''name'': Is a string expression. | ||
'''Return type''' | '''Return type''' | ||
bool | bool | ||
'''Examples''' | '''Examples''' | ||
bool b = AxisSet_axisExists("Age Groups") | ''bool b = AxisSet_axisExists("Age Groups");'' | ||
'' | ''if (b) print("Axis \"Age Groups\" exists.");'' | ||
Version 5.5 | ''else print("Axis \"Age Groups\" does not exist.");'' | ||
__NOTOC__ | |||
<!-- imported from file: 5237.htm--> | ''//Result: Axis "Age Groups" does not exist.'' | ||
'''Availability''' | |||
Version 5.5 __NOTOC__ <!-- imported from file: 5237.htm--> | |||
[[Category:Axis_set_modifying_CGScript_functions]] |
Latest revision as of 08:47, 23 December 2011
AxisSet_axisExists
Returns true if an axis exists with the name passed as argument to the method and false otherwise.
Syntax
AxisSet_axisExists(name)
Arguments
name: Is a string expression.
Return type
bool
Examples
bool b = AxisSet_axisExists("Age Groups");
if (b) print("Axis \"Age Groups\" exists.");
else print("Axis \"Age Groups\" does not exist.");
//Result: Axis "Age Groups" does not exist.
Availability
Version 5.5