Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

directoryThe directory from which to retrieve the file list.
name_filter<Optional> Filename filter. Supports the the use of wild cards ? and *.
attrib_filter<Optional> File attributes filter. Refer to SetInitDirOptions subroutine for more information.

...

Code Block
declare function RTI_OS_Directory
 
// returns an @fm delimited list of files in the specified directory matching the filename
// filter and the special attributes filter.
// In this example a list of files with a .pdf extension which have the archive attribute will
// be returned.
directory = "c:\revsoft"
filter = "*.pdf"
attributes = "A"
result = RTI_OS_Directory( "GETFILES", directory, filter, attributes )