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

Home » Public Forums » archive » Re: IDL 8 .compile Command
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
Re: IDL 8 .compile Command [message #72814] Mon, 11 October 2010 12:57
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Chris Torrence writes:

> Well, that WSHOW is definitely a bug. I'm not sure why it was behaving
> so inconsistently for you, but it's definitely busted.
>
> FYI, it's logged as CR60573. I don't think it will make it into the
> upcoming patch, but we'll get it into the next available release.

Thank you. I can get it to work reliably when I need it
to (on Windows anyway), so at least I can get some
work done now that I can keep my hands glued to
the keyboard. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: IDL 8 .compile Command [message #72815 is a reply to message #72814] Mon, 11 October 2010 12:48 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
>
> P.S. Any idea what's up with the WShow command?
> That's a weird one!
>

Well, that WSHOW is definitely a bug. I'm not sure why it was behaving
so inconsistently for you, but it's definitely busted.

FYI, it's logged as CR60573. I don't think it will make it into the
upcoming patch, but we'll get it into the next available release.

-Chris
Re: IDL 8 .compile Command [message #72821 is a reply to message #72815] Mon, 11 October 2010 09:43 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Chris Torrence writes:

> I had to dig pretty deep in the source control to figure this one out.
> It's an undocumented switch to .compile that forces IDL to ignore
> environment variables (e.g. $HOME) within the filepath. Normally, on
> Unix, you could do something like .compile $HOME/foo.pro and this
> would work fine. However, someone had complained that if they had $
> within their directory names then the IDL Workbench was unable to
> compile files within that directory. Since the Workbench already knows
> the full path to the file, there is no need to honor $xyz environment
> variables.

Thanks, Chris. I appreciate it. :-)

Cheers,

David

P.S. Any idea what's up with the WShow command?
That's a weird one!


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: IDL 8 .compile Command [message #72825 is a reply to message #72821] Mon, 11 October 2010 09:09 Go to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Oct 8, 2:11 pm, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> When I compile an IDL program in IDL 8 I see this in
> my command window:
>
> IDL> .compile -v 'C:\IDL\default\junk.pro'
> % Compiled module: $MAIN$.
>
> I looked in the IDL on-line help, the, uh,
> definitive source, for what that -v flag
> means, but no mention of it whatsoever.
>
> Does anyone have a clue why it is being used
> or what it means?
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Hi David,

I had to dig pretty deep in the source control to figure this one out.
It's an undocumented switch to .compile that forces IDL to ignore
environment variables (e.g. $HOME) within the filepath. Normally, on
Unix, you could do something like .compile $HOME/foo.pro and this
would work fine. However, someone had complained that if they had $
within their directory names then the IDL Workbench was unable to
compile files within that directory. Since the Workbench already knows
the full path to the file, there is no need to honor $xyz environment
variables.

-Chris
ITTVIS
Re: IDL 8 .compile Command [message #72855 is a reply to message #72825] Fri, 08 October 2010 13:43 Go to previous message
Jean[2] is currently offline  Jean[2]
Messages: 41
Registered: October 2010
Member
On Oct 8, 4:11 pm, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> When I compile an IDL program in IDL 8 I see this in
> my command window:
>
> IDL> .compile -v 'C:\IDL\default\junk.pro'
> % Compiled module: $MAIN$.
>
> I looked in the IDL on-line help, the, uh,
> definitive source, for what that -v flag
> means, but no mention of it whatsoever.
>
> Does anyone have a clue why it is being used
> or what it means?
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Maybe -v for -verbose !
my 2 cents

Jean
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Configuration of the new Graphics window
Next Topic: Re: Problem with REFORM and HISTOGRAM

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

Current Time: Wed Oct 08 15:10:23 PDT 2025

Total time taken to generate the page: 0.00629 seconds