>  Docs Center  >  Libraries  >  Mankoff  >  FILE_EXIST
Libraries

FILE_EXIST

FILE_EXIST

Name


FILE_EXIST

Purpose


      This function returns true if the requested file exists

Category


      SNOE, file, I/O

Calling Sequence


      Result = FILE_EXIST( aFileName )

Inputs


      aFileName: A file name (with directory path)

Outputs


      1 if the file exists, 0 if it does not

Restrictions


      No wildcards (*?)

Example


      if ( file_exist( 'foo.pro' ) ) then print, "foo exists!"

Modification History


  Written by: KDM; 2002-07-20
2002-09-25: KDM; added docs



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