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

Home » Public Forums » archive » An IDL STRTOK??? Was: TextoIDL Broken and Gone?
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
An IDL STRTOK??? Was: TextoIDL Broken and Gone? [message #23359] Mon, 15 January 2001 08:26
Nick Bower is currently offline  Nick Bower
Messages: 43
Registered: June 1999
Member
The problem seems to be that both textoidl and IDL use a function called
strtok.

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
work.

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

nick


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_s uper.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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TextoIDL Broken and Gone?
Next Topic: LinkImage question

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

Current Time: Wed Oct 08 19:23:20 PDT 2025

Total time taken to generate the page: 0.00473 seconds