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

Home » Public Forums » archive » How to obtain the name of the current routine?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to obtain the name of the current routine? [message #93420] Mon, 11 July 2016 01:27 Go to previous message
enod is currently offline  enod
Messages: 41
Registered: November 2004
Member
Dear all,

I'd like to write the routine name to the output file as header information. Is there a way to get the name of the running routine automatically when it is executed? For example,

pro test1

name_of_routine = get_the_current_routine_name()
; the above function will make
; name_of_routine = 'test1'

end


Thanks a lot!

Cheers,
Yunfeng Tian
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Weighted standard deviation in IDL
Next Topic: Plotting time as x-axis

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

Current Time: Wed Oct 08 09:20:06 PDT 2025

Total time taken to generate the page: 0.00470 seconds