objects/
mg_n_elements.pro
top source mg_n_elements
result = mg_n_elements( [var] [, /no_operatoroverload])
In IDL 8.0, the number of elements of an object can be overloaded with the
_overloadSize method for objects which inherit from IDL_Object. It is
sometimes useful to know how many array elements are present, not the
overloaded value.
Return value
long
Parameters
- var in optional type=any
variable to find number of elements of
Keywords
- no_operatoroverload in optional type=boolean
set to find the number of array elements in var, not the operator overloaded value
File attributes
| Modification date: | Mon Nov 29 18:32:23 2010 |
| Lines: | 29 |
| Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.
![[attach.png]](../idldoc-resources/attach.png)