home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / basic / eventshell / Docs / Files < prev    next >
Encoding:
Text File  |  1996-04-11  |  1.3 KB  |  60 lines

  1. --------------------------------------------------------
  2.  
  3. FNshell_FileExists()
  4. =>    str    file name
  5.  
  6. <=    bool    TRUE if file exists,
  7.          FALSE otherwise
  8.  
  9. No checking is performed on the filename, so
  10. an error will occur if it isn't legal.
  11.               
  12. --------------------------------------------------------
  13.  
  14. FNshell_FileLength()
  15. =>    str    file name
  16.  
  17. <=    int    length of the specified file
  18.  
  19. No checking is performed on the filename, so
  20. an error will occur if it isn't legal.
  21.  
  22. --------------------------------------------------------
  23.  
  24. FNshell_FileType()
  25. =>    str    file name
  26.  
  27. <=    int    file type
  28.  
  29. Returns the file type of the specified file
  30. on disk. A full path name must be given
  31. (especially under RISC-OS 3.1!)
  32.  
  33. --------------------------------------------------------
  34.  
  35. FNshell_FileGetDateStamp()
  36. =>    str    file name
  37.  
  38. <=    int    datestamp
  39.  
  40. Returns 0 if file not found
  41.          
  42. --------------------------------------------------------
  43.  
  44. FNshell_Leaf()
  45. =>    str    file name
  46.  
  47. <=    str    'leaf' of filename, i.e the name
  48.          of the actual file, minus the path
  49.  
  50. --------------------------------------------------------
  51.  
  52. FNshell_Branch()
  53. =>    str    file name
  54.  
  55. <=    str    'branch' of filename, i.e the path
  56.          of the directory containing the file.
  57.          Note that the returned string does not
  58.          include the final '.' character.
  59.  
  60. --------------------------------------------------------