[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

An IDL STRTOK??? Was: TextoIDL Broken and Gone?

The problem seems to be that both textoidl and IDL use a function called

Here's the weird bit: it's undocumented in IDL, but is there alright:

IDL> print, strtok('hi there')
           0           3

So textoidl is using the IDL version, not its own, and therefore won't

This really sucks and it's most unfortunate that such a well-known
package like this has been inadvertently clobbered without a hint of


Nick Bower wrote:

> Check this out.  TextoIDL v1.2 won't do subscripts with IDL 5.3:
> IDL> print, textoidl("\theta_i")
> % Detected at:  TRANSLATE_SUB_SUPER  281
> /home/APPS/rsi/idl/user_contrib/TextoIDL/translate_sub_super.pro
> % Type conversion error: Unable to convert given STRING to Long.
> ...a dozen of the above errors...
> % Detected at:  TRANSLATE_SUB_SUPER  288
> /home/APPS/rsi/idl_5.3/user_contrib/TextoIDL/translate_sub_super.pro
>            8
> This is probably a trivial error, but I can't be bothered trying to
> source it and instead tried to find a textoIDL homepage to look for a
> newer version, but unfortunately everyone links to
> ftp://coma.berkeley.edu/pub/mcraig/idl/TeXtoIDL/ which says "can't set
> guest privleges" and doesn't let you in.
> Anyone got a clue what I can do?  Is it a known bug?
> nick