comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » SIZE() vs. N_ELEMENTS()
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
SIZE() vs. N_ELEMENTS() [message #67328] Thu, 16 July 2009 11:39
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I am trying to free up some namespace by deleting stale routines.
I found an old one ( http://idlastro.gsfc.nasa.gov/ftp/pro/structure/n_struct.pro ,
written 1989) that contains the comment:

; If structure, use size function to get # of elements
; (instead of N_elements) so that it works on I/O associated
structures.

Does this make sense to anyone? Is there any situation now where
one must use SIZE() to get the number of elements rather than
N_ELEMENTS(). Or does this refer to some long-forgotten file
structure that is no longer relevant?

Thanks, --Wayne
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Linear fit with user defined weights
Next Topic: array convol optimizationv slow now

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 19:08:31 PDT 2025

Total time taken to generate the page: 0.95898 seconds