bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
FILEATTR Function Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
FILEATTR returns information about an open file or ISAM table, such as the
DOS file handle and whether the file was opened for input, output, random,
append, or ISAM binary mode.
 
FILEATTR(filenumber%,attribute%)
    ■ The argument filenumber% is the number used in the OPEN statement to
      open the file or table. You can use a numeric expression as long as
      BASIC evaluates it to the number of an open file, device, or table.
    ■ The arguments attribute% and value& are described on the Syntax screen.