.\
cgwhoami.pro
top cgWhoAmI
Utilities : Returns: The program returns a string in uppercase letters identifying the name of the program module containing this function.
result = cgWhoAmI()
This is a function that will identify the name of the procedure or function which calls 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 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, 28 January 2011. DWF. Fixed problem intoduced when I converted WhoAmI to cgWhoAmI. 2 Sep 2014. DWF.
File attributes
| Modification date: | Fri Mar 27 11:07:38 2015 | 
| Lines: | 107 | 
| Docformat: | rst rst |