home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Sharing Fun! I Know My Savior Lives / Sunday Savers: Sharing Fun! I Know My Savior Lives.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1546.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.1 KB  |  97 lines

  1. 135
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. FileList 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows and Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baFileList returns a list of files in a folder.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baFileList( Folder, FileSpec )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, String. 
  36. --- RECORDSEPARATOR ---
  37. Folder is the name of the folder to list. 
  38. --- RECORDSEPARATOR ---
  39. FileSpec is the pattern of files to match.
  40. --- RECORDSEPARATOR ---
  41.  
  42. --- RECORDSEPARATOR ---
  43. Returns:
  44. --- RECORDSEPARATOR ---
  45.  
  46. --- RECORDSEPARATOR ---
  47. List (Xtra) or String (UCD). 
  48. --- RECORDSEPARATOR ---
  49. Returns the list of matching files. If Folder doesn't exist, then an empty list/string is 
  50. --- RECORDSEPARATOR ---
  51. returned.
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. Examples:
  56. --- RECORDSEPARATOR ---
  57.  
  58. --- RECORDSEPARATOR ---
  59. Director: 
  60. --- RECORDSEPARATOR ---
  61. set Files = baFileList( "c:\windows", "*.*" ) 
  62. --- RECORDSEPARATOR ---
  63. Authorware: 
  64. --- RECORDSEPARATOR ---
  65. Files := baFileList( "c:\\temp", "*.bmp" )
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. Notes:
  70. --- RECORDSEPARATOR ---
  71.  
  72. --- RECORDSEPARATOR ---
  73. On
  74. --- RECORDSEPARATOR ---
  75.  Windows
  76. --- RECORDSEPARATOR ---
  77. , the FileSpec argument follows normal DOS wildcard rules. A * 
  78. --- RECORDSEPARATOR ---
  79. means match any character in the file name.  So *.* copies all files; *.bmp copies 
  80. --- RECORDSEPARATOR ---
  81. all files with a .bmp extension; T*.* copies all files starting with the letter T. 
  82. --- RECORDSEPARATOR ---
  83. On
  84. --- RECORDSEPARATOR ---
  85.  Macintosh
  86. --- RECORDSEPARATOR ---
  87. , the Filespec is the four character type code eg "TEXT". Only one 
  88. --- RECORDSEPARATOR ---
  89. type can be specified. Use an empty string or "*.*" to match all files.
  90. --- RECORDSEPARATOR ---
  91.  
  92. --- RECORDSEPARATOR ---
  93. See also:
  94. --- RECORDSEPARATOR ---
  95.  
  96. --- RECORDSEPARATOR ---
  97. baFolderList