From wiki
Jump to: navigation, search

This page is maintained for historic purposes. The keyword is not supported in QB64.

The FILEATTR function returns a file's current file mode or DOS handle.


result% = FILEATTR(fileNumber%, mode%)


  • Not supported in QB64.
  • fileNumber% is the number assigned in the file's OPEN statement.
  • mode% specifies the type of information to return, which may have the following values
    • mode% = 1: returns the open mode with the following return values:
Return Open Mode
    • mode% = 2: returns the DOS handle number of a file.

See also

Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page