home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / program / d / eventshell / Docs / Files < prev    next >
Encoding:
Text File  |  1993-07-23  |  1.2 KB  |  54 lines

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