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

Home » Public Forums » archive » Re: How do I print the procedure 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: How do I print the procedure name? [message #6189 is a reply to message #6188] Mon, 29 April 1996 00:00 Go to previous message
eparvier is currently offline  eparvier
Messages: 4
Registered: October 1991
Junior Member
In article <3184E8C8.3292@pha.jhu.edu>,
David Sahnow <sahnow@pha.jhu.edu> wrote:
> Does anyone know of a way to extract the name
> of the currently executing procedure or function? I
> want to print the name of the procedure that's running
> along with the results of the calculation that's being
> done. That way I'll have a record of how the output was
> generated.
> I'm using v4.0 on a Unix machine.
>
> -Dave

The /CALLS keyword on the HELP procedure will list the stack of
called procedures. The $MAIN$ program name will be in the stack.
Try: HELP,CALLS=STACK
Then: PRINT,STACK

Frank
------------------------------------------------------------ --------
Frank Eparvier, Research Associate Office: (303)497-7394
NOAA Space Environment Center Fax: (303)497-3645
University of Colorado - CIRES
E-mail: eparvier@colorado.edu
WWW: http://stripe.colorado.edu/~eparvier/Home.html
------------------------------------------------------------ --------
[Message index]
 
Read Message
Read Message
Previous Topic: Colour buttons in an IDL widget...how?
Next Topic: How do I print the procedure name?

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

Current Time: Fri Oct 10 22:11:30 PDT 2025

Total time taken to generate the page: 0.79828 seconds