FileTools[IsWritable] - determine if the user has write permission for a file
|
Calling Sequence
|
|
IsWritable(file)
|
|
Parameters
|
|
file
|
-
|
filename or the file descriptor of an open file
|
|
|
|
|
Description
|
|
•
|
The IsWritable(file) command returns true if the user has write permission for the specified file. If the user does not, false is returned.
|
•
|
If the file does not exist or an invalid file descriptor is passed, an exception is raised.
|
|
|
See Also
|
|
file_types, FileTools, FileTools[Exists], FileTools[IsDirectory], FileTools[IsExecutable], FileTools[IsReadable], FileTools[ModificationTime], FileTools[Remove], FileTools[Size], FileTools[Status], FileTools[Text][Close], FileTools[Text][WriteString], IO_errors
|
|
Download Help Document
Was this information helpful?