Run-Time Function: Sets the file access mode for a specified file.
Module: USE DFLIB
Syntax
The flags are defined in module DFLIB.F90 in the \DF98\INCLUDE subdirectory.
Results:
The result is of type LOGICAL(4). The result is .TRUE. if successful; otherwise, .FALSE..
To set the access value for a file, add the constants representing the appropriate access.
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
See Also: GETFILEINFOQQ
Example
USE DFLIB
INTEGER(4) permit
LOGICAL(4) result
permit = 0 ! clear permit
permit = IOR(FILE$READONLY, FILE$HIDDEN)
result = SETFILEACCESSQQ ('formula.f90', permit)
END