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

Home » Public Forums » archive » rstrpos: version 5.2 and version 5.3
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
rstrpos: version 5.2 and version 5.3 [message #19101] Thu, 24 February 2000 00:00
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
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.

Check it out...


IDL> print, !version
{ x86 linux unix 5.2.1L Aug 2 1999}

IDL> print, RSTRPOS( '/data/data/data', '/')
% Compiled module: RSTRPOS.
% Compiled module: REVERSE.
10



IDL> print, !version
{ x86 linux unix 5.3 Nov 11 1999}

IDL> print, RSTRPOS( '/data/data/data', '/')
% Variable is undefined: RSTRPOS.




IDL> print, !version
{ x86 linux unix 5.3 Nov 11 1999}

IDL> print, STRPOS( '/data/data/data', '/', /REVERSE_SEARCH)
10



--------
Andrew F. Loughe email:loughe@fsl.noaa.gov phone:(303)497-6211
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Interpolation: grid --> observation point
Next Topic: Re: CMREPLICATE / CMSET_OP (was: voodoo)

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

Current Time: Sun Oct 12 08:43:04 PDT 2025

Total time taken to generate the page: 1.91914 seconds