;+ ; NAME: ; DXPRINT ; ; AUTHOR: ; Craig B. Markwardt, NASA/GSFC Code 662, Greenbelt, MD 20770 ; craigm@lheamail.gsfc.nasa.gov ; ; PURPOSE: ; Perform HELP equivalent at any point in IDL call stack ; ; CALLING SEQUENCE: ; DXPRINT, X0, X1, ... [, LEVEL=LEVEL, FORMAT=FORMAT ] ; ; DESCRIPTION: ; ; DXPRINT prints the values of variables from any level in the IDL ; call stack. ; ; 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. ; ; INPUTS: ; ; Xi - variables to be printed, unquoted. Non-string expressions ; are printed, but of course refer to the deepest call level. ; ; KEYWORDS: ; ; LEVEL - the call level to be examined, if not the current ; debugging focus. ; ; FORMAT - format string to be applied to data values. ; ; ; EXAMPLE: ; ; dxprint, a, b ; ; Print A and B from the current debugging focus level ; ; SEE ALSO: ; ; DXUP, DXDOWN, DXHELP, DXPRINT ; ; MODIFICATION HISTORY: ; Written, 15 Apr 2000 ; Corrected FORMAT statement, 30 Jun 2001 ; ; $Id: dxprint.pro,v 1.3 2001/06/30 19:56:04 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. ;-