Re: What subprogram? What parameters and keywords? [message #85649 is a reply to message #85639] |
Fri, 23 August 2013 08:54   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mats Löfdahl writes:
> Note though that WhoCalledMe and WhoAmI give identical output when I try them. I believe WhoCalledMe needs the following edit:
>
> callingRoutine = (StrSplit(StrCompress(callStack[(index-1) > 0])," ", /Extract))[0]
>
> should be
>
> callingRoutine = (StrSplit(StrCompress(callStack[(index-2) > 0])," ", /Extract))[0]
>
> At least that fixed it for my test case.
I noticed this morning that the internal documentation seemed to be the
same, but I didn't notice that the code was the same, too. Clearly some
kind of cut and paste error. Unfortunately, I didn't have time to check
it because my son has me going on bike rides every morning and today was
our long one. It's getting harder and harder to keep up with the 20-
something kids. :-(
I'll fix this and check it in soon. Thanks!
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|