Difference between revisions of "Axis countOptions"

From Catglobe Wiki
Jump to: navigation, search
 
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 09: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