200

Files and Directories
Directory Functions

  • There are a number of built-in function which provide access to the directory handling capabilities of the underlying/native operating system

  • Most are based upon the UNIX functions of the same names

      Function Desription
      mkdir( PATH ) Create a new directory
      opendir( HANDLE, PATH ) Open a directory for reading
      @names = readdir( HANDLE ) Read the list of entry names in the directory
      closedir( HANDLE ) Close the directory stream