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

Home » Public Forums » archive » Possible to create 'keyword_used' type function?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Possible to create 'keyword_used' type function? [message #88731 is a reply to message #88723] Tue, 10 June 2014 13:19 Go to previous messageGo to previous message
Brian Devour is currently offline  Brian Devour
Messages: 5
Registered: September 2012
Junior Member
I guess I can't say that I really *needed* this, in particular, more just that I figured it ought to be possible to do and ought to exist. I understand why keyword_set, n_elements, and arg_present work the way they do, but it just bugs me that there isn't a more general way to check a keyword in IDL by default, and I was curious how it would be done. And on a pragmatic note, it means that when I forget that I need to check this particular keyword differently (which I do altogether too often), my program wouldn't explode.

So I guess you could call it a combination of curiosity about how IDL works and lazy coding habits. (Which is probably par for the course for less serious IDL users!) I didn't intend to waste anyone's time with a frivolous request or anything; if that's the way I came across I apologize for that.

Thanks for the code, by the way, Chip. It's a lot tighter than anything I would have come up with, for sure.

Brian
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ternary Plot in IDL?
Next Topic: How to display an image (tvscl, shade_surf, etc.) with values cut-off

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

Current Time: Wed Oct 08 20:13:21 PDT 2025

Total time taken to generate the page: 0.00417 seconds