More actions
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{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''' | ||
'' | ''array axis = AxisSet_getAxis("Sex");'' | ||
'' | ''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