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

Home » Public Forums » archive » resolving specific pro, functions inside of a file
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
resolving specific pro, functions inside of a file [message #50850] Sat, 21 October 2006 16:55 Go to next message
Dominic[1] is currently offline  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 Go to previous message
Jean H. is currently offline  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
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Antw: Re: Formatting WIDGET_TABLE cells?
Next Topic: Retrieving the title of a widget_base after the fact.

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

Current Time: Wed Oct 08 20:02:14 PDT 2025

Total time taken to generate the page: 0.72574 seconds