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

Home » Public Forums » archive » StrSplit wont port to Windows?
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
StrSplit wont port to Windows? [message #29191] Thu, 07 February 2002 06:59 Go to next message
R.A is currently offline  R.A
Messages: 3
Registered: February 2002
Junior Member
Does anyone know why StrSplit will not port to
windows IDL.
thanks
roa@aber.ac.uk
Re: StrSplit wont port to Windows? [message #29268 is a reply to message #29191] Thu, 07 February 2002 15:43 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
"R.A" <roa@aber.ac.uk> writes:

> Does anyone know why StrSplit will not port to
> windows IDL.
> thanks
> roa@aber.ac.uk


Strsplit has a storied history. I know of at least one routine called
strsplit.pro written by the user community which has been floating around since
at least 1993. However, at one point RSI decided to put in a built-in command
with the same name. Since built-in commands always take precedence over .pro
files, this caused the older version to be locked out. Users complained that
this broke old software, and asked RSI to change the name of built-in routine.
What RSI did was to rename the built-in routine STRTOK, and wrote their own
strsplit.pro routine as a wrapper around STRTOK.

I can think of two scenarios where you could be running into problems. One is
that you're trying to port the user version of strsplit.pro into a version of
IDL where this was a built-in routine name. (I forget which version that was,
but it's several years old now.) The other scenario I can imagine is that
you're trying to port the RSI version of strsplit.pro into an even older
version of IDL which doesn't have the required built-in STRTOK.

William Thompson
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: ARG! Direct Color problem IDL 5.5/Linux (decomposed doesn't help)
Next Topic: Re: idl5.5 bug (relative path)

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

Current Time: Wed Oct 08 16:49:51 PDT 2025

Total time taken to generate the page: 0.00445 seconds