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.

Axis countOptions: 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}}


====Axis_countOptions====
==== Axis_countOptions ====


Returns the number of axis options for the axis passed as argument to the method.
Returns the number of axis options for the axis passed as argument to the method.  


'''Syntax'''
'''Syntax'''  


Axis_countOptions(''axis'')
Axis_countOptions(''axis'')  


'''Arguments'''
'''Arguments'''  


''axis'': Is an axis array created by Axis_new function.
''axis'': Is an axis array created by Axis_new function or get by using AxisSet_getAxis.  


'''Return type'''
'''Return type'''  


number
number  


'''Examples'''
'''Examples'''  


''number n = Axis_countOptions(myAxis);''
''array axis = AxisSet_getAxis("Sex");''


'''Availability'''
''number n = Axis_countOptions(axis);''


Version 5.5
''print(n); //Result: 2 ''
__NOTOC__
 
<!-- imported from file: 5231.htm-->
'''Availability'''
 
Version 5.5 __NOTOC__ <!-- imported from file: 5231.htm-->  
 
[[Category:Axis_set_modifying_CGScript_functions]]

Latest revision as of 08:09, 23 December 2011



Axis_countOptions

Returns the number of axis options for the axis passed as argument to the method.

Syntax

Axis_countOptions(axis)

Arguments

axis: Is an axis array created by Axis_new function or get by using AxisSet_getAxis.

Return type

number

Examples

array axis = AxisSet_getAxis("Sex");

number n = Axis_countOptions(axis);

print(n); //Result: 2

Availability

Version 5.5