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

Home » Public Forums » archive » Re: IDL compatibility
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: IDL compatibility [message #23130 is a reply to message #23127] Wed, 10 January 2001 15:32 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Craig Markwardt" <craigmnet@cow.physics.wisc.edu> wrote in message
news:onpuhvhv1v.fsf@cow.physics.wisc.edu...
> [stuff about commonly-used IDL routines being made obsolete]

Just adding to Craig's message (with which I fully agree) perhaps not
everyone is aware of the !WARN system variable. From the documentation:

!WARN

A structure variable that causes IDL to print warnings to the console or
command log when obsolete IDL features are found at compile time. !WARN has
the following fields:

*****
** Structure !WARN, 3 tags, length=3:

OBS_ROUTINES BYTE 0
OBS_SYSVARS BYTE 0
PARENS BYTE 0
TRUNCATED_FILENAME BYTE 0

Setting each of the four fields to 1 (one) generates a warning for a
different type of obsolete code [remainder deleted]
*****

A routine is considered to be obsolete if it has "compile_opt OBSOLETE" in
the header or if its .pro file is in a directory named "obsolete".

By the way, I find it amusing that in if !warn.obs_sysvars is set in IDL
5.3, then several warning messages are produced in compiling XMANAGER! This
has been fixed in version 5.4.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
[Message index]
 
Read Message
Read Message
Previous Topic: Re: _ref_extra
Next Topic: Re: Newbie needs help...

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

Current Time: Thu Dec 04 00:39:37 PST 2025

Total time taken to generate the page: 0.00251 seconds