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

Home » Public Forums » archive » Re: Automatic Compiliation of IDL Programs, Was: Lost Functions
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: Automatic Compiliation of IDL Programs, Was: Lost Functions [message #10244 is a reply to message #10236] Wed, 05 November 1997 00:00 Go to previous messageGo to previous message
wonko is currently offline  wonko
Messages: 22
Registered: March 1997
Junior Member
davidf@dfanning.com (David Fanning) wrote:

> If you use the IDL executive command .Compile to compile
> a file, all the program modules in the file get compiled.
> (The executive command .Run can also be used this way,
> although it confuses new IDL users because nothing actually
> gets *run*.)

Unless the file really contains a program (some stuff outside pro/
function declarations, ended by an END).


> But one of the wonderful features of IDL is the ability
> to have your programs compiled *automatically* when they
> are needed. This makes it possible to write IDL code that
> is not cluttered up with a bunch of INCLUDE statements, etc.

Right...

> But the key word here is "command". When you write a program
> you are, in effect, creating another IDL command. The key rule
> for getting your programs to compile automatically is to make
> sure that the "command" module is the *last* program module
> in a file that has the *same name* as the command you are
> trying to build (with a ".pro" extension, of course).

... but I wouldn't mind if IDL just compiled the whole file. This means
some extra time for compiling, but would make things a bit easier. Or do
I forget something?


Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Keywords GS and LIMITS not allowed in TRIGRID
Next Topic: Help on wav format

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

Current Time: Sun Oct 12 14:34:27 PDT 2025

Total time taken to generate the page: 0.64120 seconds