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 
Return to the default flat view Create a new topic Submit Reply
Re: IDL 8 .compile Command [message #72825 is a reply to message #72821] Mon, 11 October 2010 09:09 Go to previous messageGo 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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
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: Sat Oct 11 12:45:41 PDT 2025

Total time taken to generate the page: 0.57876 seconds