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 #33536 is a reply to message #33530] Thu, 09 January 2003 11:15 Go to previous messageGo to previous message
Stein Vidar Hagfors H[2] is currently offline  Stein Vidar Hagfors H[2]
Messages: 28
Registered: October 2002
Junior Member
David Fanning <david@dfanning.com> writes:

> 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

David, how are people ever going to learn to stand on their own feet when
you keep handing them all the solutions on a silver platter :-) Speaking of
canned stuff (on a silver platter?), look at

ftp://sohoftp.nascom.nasa.gov/solarsoft/gen/idl/system/get_c alldetails.pro

--
------------------------------------------------------------ --------------
Stein Vidar Hagfors Haugan
ESA SOHO SOC/European Space Agency Science Operations Coordinator for SOHO

NASA Goddard Space Flight Center, Tel.: 1-301-286-9028
Mail Code 682.3, Bld. 26, Room G-1, Cell: 1-240-354-6066
Greenbelt, Maryland 20771, USA. Fax: 1-301-286-0264
------------------------------------------------------------ --------------
[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: Wed Oct 08 19:24:55 PDT 2025

Total time taken to generate the page: 0.00439 seconds