;+ ; NAME: ; DXSET ; ; AUTHOR: ; Craig B. Markwardt, NASA/GSFC Code 662, Greenbelt, MD 20770 ; craigm@lheamail.gsfc.nasa.gov ; ; PURPOSE: ; Sets IDL variable in a different IDL call level ; ; CALLING SEQUENCE: ; DXSET, 'NAME', VALUE ; quoted variable name (OR) ; DXSET, NAME, VALUE ; unquoted variable name ; ; DESCRIPTION: ; ; DXSET sets a variable value at 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, ; and the variable is not set. ; ; INPUTS: ; ; NAME - the name of the variable, either quoted or unquoted. ; ; VALUE - the new value of the variable. ; ; KEYWORDS: ; ; LEVEL - the call level to be examined, if not the current ; debugging focus. ; ; EXAMPLE: ; ; dxset, 'a', 5 ; ; Set the value of the variable A to 5 in the currently debugged ; call level. ; ; SEE ALSO: ; ; DXGET, DXSET, DXUP, DXDOWN ; ; MODIFICATION HISTORY: ; Written, 15 Apr 2000 ; ; $Id: dxset.pro,v 1.2 2001/02/09 04:57:18 craigm Exp $ ; ;- ; Copyright (C) 2000, Craig Markwardt ; This software is provided as is without any warranty whatsoever. ; Permission to use, copy, modify, and distribute modified or ; unmodified copies is granted, provided this copyright and disclaimer ; are included unchanged. ;-