|
Re: StrSplit wont port to Windows? [message #29268 is a reply to message #29191] |
Thu, 07 February 2002 15:43  |
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
|
|
|