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

Home » Public Forums » archive » Finding if a structure tag name is defined?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Finding if a structure tag name is defined? [message #36709] Tue, 14 October 2003 05:28 Go to previous message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
I want to know if a given keyword has been passed down via _extra, so
I said "if (n_elements(e.c_linestyle) ne 0)" which of course doesn't
work because if it isn't there you can't say e.linestyle (bring on
perl...). I can use tag names to get all the tags, then search through
for a match, but that seems silly and ugly. What is the correct way
to find if a given structure has a certain tag in it? (And why
couldn't I find the answer buried within DF's site ;-)?

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.antarctica.ac.uk/met/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: improved mk_htmlhelp ? (like latex2html)
Next Topic: Re: 3D-Plot with geographical coordinates in xy-direction

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

Current Time: Fri Oct 10 03:41:21 PDT 2025

Total time taken to generate the page: 0.08351 seconds