Re: compile a routine wich inlude a commun [message #47066 is a reply to message #47065] |
Sun, 22 January 2006 06:21   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
L. Testut writes:
> I am a beginner with IDL and I really enjoy this programmation
> langage, even if it is not easy at the beginning. I'm building at the
> moment an application to work with satellite altimetric data of four
> satellites.
> My question is "it is possible to compile a procedure or function
> including a COMMON which is not already defined" in others words : "is
> it possible to force compilation of procedure or function including a
> COMMON which is not already defined" ?
>
> Your answer will probably be : don't use common at all ! (but I don't
> know how to do without common)
Well, I admit I don't know much about common blocks,
having only used them a handful of times in
20 years of IDL programming, but I am perplexed
by your question. I keep asking myself, "How could
you NOT compile a procedure or function including
a COMMON which is not already defined?" Where else
would it be defined?
So, there must be some kind of problem you are
running into that I can't envision. What are you
trying to do, and what is preventing you from
doing that? Are you certain it is a COMMON block
that is preventing compilation? Why?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|