resolving specific pro, functions inside of a file [message #50850] |
Sat, 21 October 2006 16:55  |
Dominic[1]
Messages: 13 Registered: October 2006
|
Junior Member |
|
|
Hi,
Is it possible to use RESOLVE_ROUTINE on a single procedure inside of a
file? So, I ONLY want to resolve procedure bar but NOT foo.
file: foo.pro:
pro bar
print, "bar"
end
pro foo
print, "foo"
end
thanks
dometz
|
|
|
Re: resolving specific pro, functions inside of a file [message #50916 is a reply to message #50850] |
Mon, 23 October 2006 09:04  |
Jean H.
Messages: 472 Registered: July 2006
|
Senior Member |
|
|
The pro "bar" would be recognized as a procedure when IDL will compile
"foo"... I believe their is no other way for IDL to realize that pro
bar exist! ... so the short answer would be no! ...
well.... I guess one could always read the .pro file, save in a new file
the pro/function of interest, and then compile that new file only..
Jean
Dominic wrote:
> Hi,
>
> Is it possible to use RESOLVE_ROUTINE on a single procedure inside of a
> file? So, I ONLY want to resolve procedure bar but NOT foo.
>
> file: foo.pro:
>
> pro bar
> print, "bar"
> end
>
> pro foo
> print, "foo"
> end
>
> thanks
>
> dometz
>
|
|
|