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

Home » Public Forums » archive » Re: Unsupported keyword on older IDL version
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: Unsupported keyword on older IDL version [message #31646 is a reply to message #31636] Mon, 29 July 2002 08:34 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:

> Another possibility is to use the _EXTRA mechanism:
>
> ;; Assume EXTRA is undefined
> if double(!version.release) GE 5.4 then $
> extra = {utc: 1}
> value = systime(_EXTRA=extra)
>
> Anyway you cut it, you will need an IDL version check.

I think this might depend on how old a version of IDL
you were calling. I don't think _Extra always failed
gracefully in the early days, when routines were passed
a keyword they didn't understand.

On the other hand, this does have the advantage of
running in a run-time version of IDL, whereas the
CALL_FUNCTION approach would fail.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to input idl figure to MS office
Next Topic: CALL_EXTERNAL

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

Current Time: Fri Oct 10 09:14:43 PDT 2025

Total time taken to generate the page: 2.00188 seconds