next up previous contents index
Next: Random Numbers Up: Miscellaneous CCATSL routines Previous: Time   Contents   Index


Disk files


FileFindCL and FileNewCL

These routines perform various file-related operations. FileFindCL uses a dialog box to prompt the user for the filename of an existing file, FileNewCL prompts the user for the name of a new file. The routines have the same syntax so we will only describe FileFindCL.

  boolean FileFindCL ( char *pname,
  char *fname);

  pname A string to receive the fully qualified pathname.
  fname A string to receive the filename.

The return value is false on failure.


FileDeleteCL

This routine deletes a file.

  
success=FileDeleteCL(pname);       /* delete the file with pathname pname
                                     (relative to the current directory) */

The return value is false on failure.



CATAM admin 2010-02-23