Spon writes:
> As I'm currently in the grip of evangelical fervour induced by a
> re-reading of JD Smith's (in)famous oration -
> http://www.dfanning.com/tips/forloops.html
- I've discovered that you
> can replace the FOR loop by using TRANSPOSE; like this:
>
> Print, Transpose(StrSplit(!PATH, Path_Sep(/SEARCH_PATH), /Extract))
JD, of course, is famous, but hardly anyone reads (well,
finishes) his articles. I, on the other hand, am not
famous at all, but a lot of people have read the nonsense
I've written. The difference between us is the
energy differential given off by the human brain when
they read a line of code like that compared to my humble
PrintPath program. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Se****e ma de ni thui. ("Perhaps thou speakest truth.")


|