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

Home » Public Forums » archive » Widgets - 3.6 -> 4.0 Aaarrrggghhh!!
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: Widgets - 3.6 -> 4.0 Aaarrrggghhh!! [message #5988 is a reply to message #5908] Sun, 17 March 1996 00:00 Go to previous message
landsman is currently offline  landsman
Messages: 93
Registered: August 1991
Member
In article <14MAR199619441349@sorbet.gsfc.nasa.gov>, landsman@sorbet.gsfc.nasa.gov (Wayne Landsman (301)-286-3625) writes...
> The function SINCE_VERSION() below from the IDL Astronomy Library tests
> whether the current version is later than a specified one. In your case,
> it would be used as
> if since_version('4.0.0') then ....
>
To followup my own posting, Bill Thompson has pointed out that the use of
SINCE_VERSION() is probably unnecessary since a simple comparison operator
seems to do the trick, i.e.,

if !VERSION.RELEASE GE '4.0.0' then ...

This simple comparison seems to always work. even though !VERSION.RELEASE
is sometimes 2 characters (e.g. '3.6') and sometimes 4 (e.g. '4.0.1a').

--Wayne Landsman landsman@sorbet.gsfc.nasa.gov
[Message index]
 
Read Message
Read Message
Previous Topic: map_image in IDL
Next Topic: Should we split this group? (was Re: Lift the "ban" :-))

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

Current Time: Sat Oct 11 08:54:05 PDT 2025

Total time taken to generate the page: 1.03997 seconds