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






      Close results file.


Calling Sequence



Keyword Parameters


        FD=fd Optional file descriptor. Allows multiple res
          files to be used at once.
        /QUIET suppresses error messages.
        /EXTENDED Keep file pointer as long64 if it already is.
        /FORCE Force file pointer to long64. This might
          overwrite first array unless file was opened in IDL
          with long64 data type. Also will give an error if
          current IDL version does not have long64 data type.
          If the file has been opened for WRITE with XDR then
          it must use the short file pointer (XDR open for write
          cannot be read to determine the pointer type).


Common Blocks



      Notes: one of the results file utilities.
        See also resopen, resput, resget, rescom.

Modification History

      R. Sterner, 19 Jun, 1991
      R. Sterner, 14 Feb, 1992 --- added /QUIET.
      R. Sterner, 2004 Feb 10 --- Supported extended file pointer (LONG64).
      R. Sterner, 2004 Feb 19 --- Default to short fp, keyword overrides.
      R. Sterner, 2004 Apr 07 --- Only short file pointer for XDR.
      (Cannot read XDR file if open for write).
      R. Sterner, 2004 Sep 27 --- Added FD=fd to give file descriptor.
      R. Sterner, 2006 Mar 08 --- Handled files closed outside resclose.
      R. Sterner, 2010 May 23 --- Converted arrays from () to [].
  Copyright (C) 1991, 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.

© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us