Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: IDL Workben...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 7 Topic 5561 of 6457
Post > Topic >>

Re: IDL Workbench Path Woes

by Spon <christoph.blau@[EMAIL PROTECTED] > Apr 2, 2008 at 09:13 AM

On Mar 22, 12:09 am, David Fanning <n...@[EMAIL PROTECTED]
> wrote:
> David Fanning writes:
> > So, aside from naming my Coyote project AAAA_Coyote, how
> > do I get it first on my path?
>
> Oh, never mind. Pilot error. I had accidentally
> left out the semi-colon at the end of my Coyote path.
> I don't know what IDL was thinking, but no error
> message was generated, just lots of churning.
>
> 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.")

Just a short note regarding your PrintPath programme here:
http://www.dfanning.com/workbench/nostopper.html

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))

I've only tested it on Windows & RedHat Linux but I see no reason why
it shouldn't be completely compatible cross-platform.

Just in case your !PATH is *that* long that you'd notice the time the
FOR loop takes ;-)

Oh, and feel free to point out why it'd be a bad idea to use my
method, if you can spot a reason!

Regards,
Convert Chris of the priesthood of Jaydee
 




 7 Posts in Topic:
IDL Workbench Path Woes
David Fanning <news@[E  2008-03-21 17:04:49 
Re: IDL Workbench Path Woes
David Fanning <news@[E  2008-03-21 17:09:38 
Re: IDL Workbench Path Woes
Spon <christoph.blau@[  2008-04-02 09:13:45 
Re: IDL Workbench Path Woes
David Fanning <news@[E  2008-04-02 10:34:13 
Re: IDL Workbench Path Woes
Spon <christoph.blau@[  2008-04-02 10:17:16 
Re: IDL Workbench Path Woes
Spon <christoph.blau@[  2008-04-02 10:21:39 
Re: IDL Workbench Path Woes
Spon <christoph.blau@[  2008-04-02 10:30:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 21:38:00 CST 2008.