t = FileAttributes(id)
On return, the table will have the following fields initialized:
Trueif the file is being streamed from a remote source instead of being read from a physical drive.
Trueif this file cannot be seeked. This could happen if the file is being streamed from a remote source that only allows sequential reads without any seeking capabilities.
If you want to query the attributes of a file that is not currently open, use GetFileAttributes() instead. See GetFileAttributes for details.
OpenFile(1, "test.txt") t = FileAttributes("test.txt") Print(t.time) If t.flags & #FILEATTR_READ_USR Print("#FILEATTR_READ_USR is set.") Else Print("#FILEATTR_READ_USR is not set.") EndIfThe code above examines the file "test.txt" and prints the time it was last modified to the screen. Additionally, it checks if the protection flag