mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

objects/

mg_n_elements.pro


Routines

top 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: Wed May 14 15:07:14 2014
Lines: 7
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.