NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FileAttr Function

Returns a Long representing the file mode for files opened using the Open statement.

FileAttr(filenumber)

Arguments

filenumber
Required; Integer. Any valid file number.

Return Values

When the returntype argument is 1, the following return values indicate the file access mode:

Question: So, are we using the filenumber instead of the returntype as the argument here?

Mode Value
Input 1
Output 2
Random 4
Append 8
Binary 32

See Also

Example

GetAttr Function | Open Statement | SetAttr Statement