DXGET Name
DXGET
Author
Craig B. Markwardt, NASA/GSFC Code 662, Greenbelt, MD 20770
craigm@lheamail.gsfc.nasa.gov Purpose
Gets IDL variable from a different IDL call level
Calling Sequence
RESULT = DXGET('NAME') ; quoted variable name (OR)
RESULT = DXGET(NAME) ; unquoted variable name
Description
DXGET retrieves a variable value from any point in the IDL call
stack. The DXGET and DXSET routines allow any variable at any
level to be examined and changed.
The call level to be examined is determined by the current
debugging "focus." By default this is the deepest level in the
call stack -- where the breakpoint occurred. However, this level
can be changed by using the DXUP and DXDOWN procedures.
If the variable doesn't exist, then an error message is reported.
Inputs
NAME - the name of the variable, either quoted or unquoted.
Keywords
LEVEL - the call level to be examined, if not the current
debugging focus.
Example
value = dxget('a')
Retrieve the value of the variable A from the debugged call level.
See Also
DXGET, DXSET, DXUP, DXDOWN
Modification History
Written, 15 Apr 2000