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

Home » Public Forums » archive » help & help,/structure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
help & help,/structure [message #72208] Fri, 13 August 2010 11:59 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
A documented new feature of HELP,/STRUCTURE in IDL 8.0 has caused me
a minor annoyance: According to the online help:

"If a single argument is provided to HELP, and it is a structure,
then HELP will automatically display the structure information without
having to set the /STRUCTURE keyword."

But I think this means that I can no longer use HELP to determine
the number of elements in a structure array. In IDL 7.1 I could
write

IDL> print,!version
{ x86 linux unix linux 7.1.1 Aug 19 2009 32 64}
IDL> help,tab
TAB STRUCT = -> <Anonymous> Array[58]

to determine that it has 58 elements. But in IDL 8.0, I get
information about the structure but no information about the number of
elements it contains... I have to print,N_Elements(tab) . --Wayne

IDL> print,!version
{ x86 linux unix linux 8.0 Jun 18 2010 32 64}

IDL> help,tab
** Structure <a065d74>, 21 tags, length=168, data length=162, refs=1:
OBS_ID STRING '00031688021 '
EXTNAME STRING 'uu297081092I '
ASPCORR INT 0
FILTER STRING 'U '
TSTART DOUBLE 2.9708109e+08
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: interpolation of data
Next Topic: Updates to Coyote's Guide to IDL Programming

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

Current Time: Wed Oct 08 19:11:40 PDT 2025

Total time taken to generate the page: 0.00460 seconds