◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back► ────────────────────────────────────────────────────────────────────────────── Returns the file handle or file mode of an open file or ISAM table (ISAM available in Professional Edition only). FILEATTR(filenumber%, attribute%) ■ filenumber% Number specifying an open file ■ attribute% Numeric expression, either 1 or 2, that indicates the type of information to return: Number Returns ══════ ══════════════════════════════════════════ 2 MS-DOS file handle if filenumber% indicates a file, or 0 if filenumber% indicates an ISAM table 1 File mode: 1 = INPUT 2 = OUTPUT 4 = RANDOM 8 = APPEND 32 = BINARY 64 = ISAM See Also ◄OPEN Statement (File I/O)►