home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsd / evntshell / Docs / Files < prev    next >
Encoding:
Text File  |  1995-05-06  |  1.6 KB  |  71 lines

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