>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  SAVE2
Libraries

SAVE2

SAVE2

Name


      SAVE2

Purpose


      Save IDL vars in a file. Allows them to be renamed during restore2.

Category


Calling Sequence


      save2, filename, v1, [v2, v3, ... v9]

Inputs


      filename = name of file to save variable in. in
      v1, v2, ... = variables to save (up to 9). in

Keyword Parameters


Keywords


        /XDR save using XDR format.
        /MORE will keep the file open so more variables may be saved.
            Save2 may be called repeatedly if /MORE is used each time.
            A call to save2 without /MORE closes the file.
            Ex: save2, 'test.tmp', a, b, c, /more
                save2, 'test.tmp', d, e, f

Outputs


Common Blocks


      save2_com

Notes


      Note: This should work for any data type but structure.
        See restore2.

Modification History


      R. Sterner. 22 Jan, 1988.
      RES 14 Mar, 1988 --- made for multiple variables.
      RES 26 Jul, 1990 --- added XDR keyword.
      Johns Hopkins University Applied Physics Laboratory.
  Copyright (C) 1988, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us