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

Home » Public Forums » archive » Re: Getting running routine name
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Getting running routine name [message #33545 is a reply to message #33544] Thu, 09 January 2003 08:23 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Harro Uwe Hieninger (hiening@zi.biologie.uni-muenchen.de) writes:

> try
> help, CALLS=calls
>
> then calls is an array
> containing some info ;-)

Uh, right. Sort of like this:

PRO EXAMPLE
Help, Calls=callStack
thisRoutine = (StrSplit(StrCompress(callStack[0])," ", /Extract))[0]
Print, 'I am ' + thisRoutine
END

IDL> example
I am EXAMPLE

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: getting structure elements by tag name string
Next Topic: map all-sky image

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

Current Time: Fri Oct 10 13:58:41 PDT 2025

Total time taken to generate the page: 0.23875 seconds