.\
cgwhocalledme.pro
top cgWhoCalledMe
Utilities
result = cgWhoCalledMe()
This is a function that will identify the caller of the program module that contains this funciton.
Return value
This function returns a string in uppercase letters identifying the caller of the program module from which this program was called.
Examples
Used to determine which module called this module containing cgWhoCalledMe:
IDL> Print, cgWhoCalledMe()
; Compile and run the following main level program.
;***************************
PRO junker
Print, cgWhoCalledMe()
END
PRO junk
Print, cgWhoCalledMe()
END
junk
END
;**************************
IDL> .go
$MAIN$
JUNK
Author information
- Author:
FANNING SOFTWARE CONSULTING:
David W. Fanning 1645 Sheely Drive Fort Collins, CO 80526 USA Phone: 970-221-0438 E-mail: david@idlcoyote.com Coyote's Guide to IDL Programming: http://www.idlcoyote.com
- Copyright:
Copyright (c) 2011, Fanning Software Consulting, Inc.
- History:
Change History:
Written, 16 January 2011. DWF.
File attributes
Modification date: | Fri Mar 27 11:07:35 2015 |
Lines: | 106 |
Docformat: | rst rst |