CGWHOAMI
This is a function that will identify the name of the procedure or function which
calls this function.
Categories
Utilities
Returns
The program returns a string in uppercase letters identifying the name of the program
module containing this function.
Examples
Used to a module by name::
IDL> Print, cgWhoAmI()
; Compile and run the following main level program.
;***************************
PRO junker
Print, cgWhoAmI()
END
PRO junk
Print, cgWhoAmI()
END
junk
END
;**************************
IDL> .go
JUNK
JUNKER
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, 28 January 2011. DWF.
Fixed problem intoduced when I converted WhoAmI to cgWhoAmI. 2 Sep 2014. DWF.
Copyright
Copyright (c) 2011, Fanning Software Consulting, Inc.