[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rstrpos: version 5.2 and version 5.3
- Subject: Re: rstrpos: version 5.2 and version 5.3
- From: Martin Schultz <martin.schultz(at)dkrz.de>
- Date: Fri, 25 Feb 2000 11:04:08 -0100
- Newsgroups: comp.lang.idl-pvwave
- Organization: MPI fuer Meteorologie
- References: <38B574AD.DE7EA961@fsl.noaa.gov>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:18642
Andy Loughe wrote:
>
> Hello,
>
> In their latest software upgrade, did RSI really
> throw away the RSTRPOS function and replace it with
> STRPOS(/REVERSE_SEARCH) ?
>
> Would they like to fix all the code I have that uses
> RSTRPOS? No... I'll go write my own RSTRPOS.pro, thank you,
> or replace *all* my RSTRPOS with STRPOS(/REVERSE_SEARCH).
>
> This kind of non-backwards compatability gives
> IDL a bad name... I hear the complaint very often
> from ex-IDL programmers.
>
> [code snipped]
Oh! I do agree!! They should really be more careful in labeling routines
as
"obsolete". I think it would be fair to keep a routine as rstrpos in the
main
lib path (or replace it by a wrapper which uses the new functionality)
and only
change the documentation to tell users there is a better way now so they
can
slowly migrate to the new form. In my opinion this worked out not too
bad with
these () -> [] array indices...
Believe it or not: some people ned to rerun code only after several
years of
IDL development went by!
Cheers,
Martin
> --------
> Andrew F. Loughe email:loughe@fsl.noaa.gov phone:(303)497-6211
--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[