CGWHOCALLEDME
This is a function that will identify the caller of the program module
that contains this funciton.
Categories
Utilities
Returns
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
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
History
Change History::
Written, 16 January 2011. DWF.
Copyright
Copyright (c) 2011, Fanning Software Consulting, Inc.