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

Home » Public Forums » archive » Re: POLY_FIT backward-compatible solution: Use 4.0.
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
Re: POLY_FIT backward-compatible solution: Use 4.0. [message #11520] Mon, 30 March 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Russ Welti (on mapper) (rwelti@mapper.mbt.washington.edu) writes:

> For anyone who, like me, supports IDL installations still
> using 4.0, there is no way to have a single source version
> of your IDL application which uses the new 5.0 POLY_FIT,
> since the 4.0 version has no /DOUBLE keyword.
>
> Until the whole world uses IDL 5.0, the solution must be to
> use the 4.0 POLY_FIT and distribute it with your source code,
> so the 5.0 site will have it. There is no accuracy penalty, and
> I can't perceive any speed differences.
>
> That is the only way to avoid having version-
> dependent code. (I don't find anything in the Index under
> "version" that would let me determine the IDL engine's
> version, anyway, even if I were interested in doing that
> kind of workaround...)

I agree that version-dependent code is a pain, but sometimes
it is inevitable. !VERSION will tell you what you are running.

Cheers,

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: date question
Next Topic: POLY_FIT backward-compatible solution: Use 4.0.

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

Current Time: Sat Oct 11 14:15:18 PDT 2025

Total time taken to generate the page: 0.16252 seconds