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

Home » Public Forums » archive » Function to return the current procedure/function
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
Function to return the current procedure/function [message #67926] Sat, 05 September 2009 01:32
maurya is currently offline  maurya
Messages: 16
Registered: February 2009
Junior Member
Is there any function to return the current procedure/function name
only not all?

There is one function "ROUTINE_INFO" which provide information about
all currently-compiled procedures and functions. But, I want to get
the name of the procedure/function using a function (say Routine_Name)
by calling in the same routine. e.g.

Pro test_plot

plot,findgen(200)
;

print, Routine_Name()

end

The print function should return 'test_plot'.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MAC running IDL 7.0 from the command line
Next Topic: Java.Lang.NullpointerException

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

Current Time: Wed Oct 08 17:09:50 PDT 2025

Total time taken to generate the page: 0.00534 seconds