Index Page
cspice_exists
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_EXISTS returns a boolean indicating whether the input
   file exists (TRUE) or not (FALSE).

   For important details concerning this module's function, please refer to
   the CSPICE routine exists_c.

I/O

   
   Given an arbitrary file, determine if it exists:
   
      if ( cspice_exists( file_name ) ) then begin
   
         print, 'The file exists.'
   
      endif else begin
   
         print, 'Cannot find the file.'
   
      endelse

Examples


   Native IDL code to perform the same task:
   
      if ( findfile( file_name ) ) then begin
   
         print, 'The file exists.'
   
      endif else begin
   
         print, 'Cannot find the file.'
   
      endelse

Particulars


   None.

Required Reading


   ICY.REQ

Version


   -Icy Version 1.0.1, 09-DEC-2005, EDW (JPL)

      Added Examples section.

   -Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)

Index_Entries


   does the file exist




Wed Apr  5 17:58:01 2017