Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

AxisSet axisExists: Difference between revisions

From Catglobe Wiki
No edit summary
Cg van (talk | contribs)
No edit summary
 
Line 1: Line 1:
[[Category:Axis set modifying CGScript functions]]
{{HelpFiles}}  
{{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")l
''bool b = AxisSet_axisExists("Age Groups");''


'''Availability'''
''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