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

Re: Which like command for IDL?

Oh, STRTOK has been around for a while. Any illegal call to STRSPLIT (my
common one, passing an array as a parameter) would crash it and expose a
call to STRTOK. I think I even asked a question about it (long time
ago), but I can't remember what kind of answer did I get. A real IDL
hacker (like Craig) probably would know.

David Fanning wrote:
> David Fanning (davidf@dfanning.com) writes:
> > It is a moot point anyway, in this case, since the program
> > uses some of the neat new SWITCH, BREAK, etc. stuff that
> > comes in IDL 5.4, and will not compile in earlier versions.
> Interestingly, the FILE_WHICH program supplied in IDL 5.4
> calls a built-in, but undocumented, program STRTOK, which
> appears to separate the path subdirectories based on
> a delimiter supplied to the function. I'll leave it
> to the expert sleuths in the group to tell us what it
> *really* does. :-)
> Cheers,
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155