Re: MESSAGE question [message #4973] |
Mon, 04 September 1995 00:00 |
sjt
Messages: 72 Registered: November 1993
|
Member |
|
|
mallozzi@ssl.msfc.nasa.gov wrote:
: Is there a way to get the name of the routine that is currently executing,
: like the MESSAGE routine does? If I execute MESSAGE while in PRO TEST,
: I get
: % TEST: message_string
: I guess I could use MESSAGE, /NOPRINT and then extract the routine from
: !ERR_STRING, but is there a way to directly get the current routine name?
: -Bob
: mallozzi@ssl.msfc.nasa.gov
try HELP, CALLS=VBL
which puts the current call stack into the array VBL -- Can't recall
which way round, but the current routine is either VBL(0) or
VBL(N_ELEMENTS(VBL)-1)
--
+------------------------+---------------------------------- --+---------+
| James Tappin, | School of Physics & Space Research | O__ |
| sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722 | |
+----------------------------------------------------------- --+---------+
|
|
|