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

Home » Public Forums » archive » IDL procedure and function names
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: IDL procedure and function names [message #89241 is a reply to message #89235] Thu, 07 August 2014 17:37 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 8/7/14, 9:41 am, cpaxson@cfa.harvard.edu wrote:
> Dear IDL Users,
>
> I would like to print out the name of the procedure or function as
> the code executes. In C I'd add a line referring to argv[0]. Is
> there an equivalent in IDL such as argv or a !System variable?
> Thanks.
>
> Charles
>

SCOPE_TRACEBACK is the way to tell what routine you are in.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dirty resampling of irregularly spaced point data with GRID_INPUT
Next Topic: TS_SMOOTH function

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

Current Time: Thu Oct 09 23:36:03 PDT 2025

Total time taken to generate the page: 1.12248 seconds