introspection/
mg_helpdef.pro
includes main-level programRoutines
top mg_helpdef
mg_helpdef, var [, output=string]
Print the declaration string for a variable.
Parameters
- var in required type=any
variable to find declaration statement for
Keywords
- output out optional type=string
set to a named variable to receive the declaration string for the given variable, does not print the output to standard output in this case
Examples
For example, try:
IDL> a = findgen(10)
IDL> mg_helpdef, a
a = fltarr(10)
IDL> b = { c: findgen(10), d: 5L }
IDL> mg_helpdef, b
b = { C: fltarr(10), D: 5L }
File attributes
Modification date: | Wed May 14 15:07:14 2014 |
Lines: | 73 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.