This page was created by the IDL library routine `mk_html_help2`.

Last modified: Wed Sep 24 18:17:42 2025.

# Directory Listing of Routines

# external/misc

- SAVETOMAIN

# Routine Descriptions

## SAVETOMAIN

[List of Routines]

     NAME:
      SAVETOMAIN

     PURPOSE:

       This is used primarily in debugging mode to save a variable to
       the main IDL level for later inspection.

     AUTHOR:

       FANNING SOFTWARE CONSULTING
       David Fanning, Ph.D.
       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/

     CATEGORY:

       Utilities

     CALLING SEQUENCE:

       SaveToMain, variable, nameOfVariable

     ARGUMENTS:

      variable:         The variable you wish to save at the main IDL level.

      nameOfVariable:   The name of the variable at the main IDL level. If undefined,
                        the variable will have the same name as the variable that was
                        used as the variable argument.

     KEYWORDRS:

      None.

     MODIFICATION HISTORY:

      Written by: David W. Fanning, 2 July 2009.

(See external/misc/savetomain.pro)