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

Home » Public Forums » archive » how to find name of top level program
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
how to find name of top level program [message #58051] Fri, 11 January 2008 12:04
Enemy of the State is currently offline  Enemy of the State
Messages: 4
Registered: January 2008
Junior Member
Greetings IDL comrades!

I suspect this is an overly simple question but I'm stumped.....

What I would like to do is to find out the name of the top level IDL
procedure so that I can put it via xyouts on the plots it produces:

pro junk,xxx

... various other routines and functions called to do one thing or
another ...

plot, some_vector

.... something magical happens here so that I have a variable (eg,
program_name)
that tells me the name of the program that produced this plot
is "junk"

sub_xyouts,.1,.1,' name of program that produced this plot is
'+program_name,/normal

return
end


It seems like the help command would do this somehow, but darn if I
can figure out how it might be done.

Thanks!

Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 7 Epiphany
Next Topic: elegant array index expansion using INTERPOLATE

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

Current Time: Sat Oct 11 15:50:55 PDT 2025

Total time taken to generate the page: 1.43621 seconds