# coyote: SAVETOMAIN

- coyote/Utilities
- [Source code]

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.