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

RESTORE2

RESTORE2

Name


      RESTORE2

Purpose


      Retrieve from a file IDL variables saved by save2.

Category


Calling Sequence


      restore2, filename, v1, v2, ..., v9

Inputs


      filename = name of file to restore variable from. in

Keyword Parameters


Keywords


        ERROR = err. Error flag. 0=ok, 1=could not open file,
          2=restore incomplete, 3=not a save2 file.
        /XDR restore an XDR save2 file.
        /MORE will keep the file open so more variables may be restored.
            Restore2 may be called repeatedly if /MORE is
      used each time.
            A call to restore2 without /MORE closes the file.
            Ex: restore2, 'test.tmp', a, b, c, /more
                restore2, 'test.tmp', d, e, f

Outputs


      v1, v2, ..., v9 = restored variables. out

Common Blocks


      restore2_com

Notes


Modification History


      R. Sterner. 22 Jan, 1988.
      RES 14 Mar, 1988 --- multiple variables.
      RES 26 Jul, 1990 --- added XDR keyword.
      Johns Hopkins University Applied Physics Laboratory.
      R. Sterner, 2010 Jun 04 --- Converted arrays from () to [].
  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