- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
function file_mark_write(const fname: string): boolean;
Arguments:
-
Description:
-
Sets file writing flag. Call it before opening file for writing.
Returns:
-
TRUE on success, FALSE on error.
Usage:
-
file_mark_write('filename.ext');
assign(fh, 'filename.ext');
rewrite(fh);
// Some actions
close(fh);
file_unmark_write('filename.ext');
See also:
-
file_unmark_write, file_mark_read.
|