summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-08-31 13:22:35 +0200
committerGitHub <noreply@github.com>2020-08-31 13:22:35 +0200
commitdf333bcc66eefd9eea252dabdf88298ba48eb4f5 (patch)
tree09b913e68d7d67ee5468f3af1cade69231e2e975 /doc
parent6ebe68554c37c0e71b6a805d4a658bef8cd08ab9 (diff)
parent5e77eea2167db1f3c3d974ebfda54dc67b9e9519 (diff)
Merge pull request #41012 from mrushyendra/cursor_open
Updated cursor positioning description for File open()
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/File.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/File.xml b/doc/classes/File.xml
index d91203d91f..af6ba17d7b 100644
--- a/doc/classes/File.xml
+++ b/doc/classes/File.xml
@@ -451,16 +451,16 @@
</members>
<constants>
<constant name="READ" value="1" enum="ModeFlags">
- Opens the file for read operations.
+ Opens the file for read operations. The cursor is positioned at the beginning of the file.
</constant>
<constant name="WRITE" value="2" enum="ModeFlags">
- Opens the file for write operations. Create it if the file does not exist and truncate if it exists.
+ Opens the file for write operations. The file is created if it does not exist, and truncated if it does.
</constant>
<constant name="READ_WRITE" value="3" enum="ModeFlags">
- Opens the file for read and write operations. Does not truncate the file.
+ Opens the file for read and write operations. Does not truncate the file. The cursor is positioned at the beginning of the file.
</constant>
<constant name="WRITE_READ" value="7" enum="ModeFlags">
- Opens the file for read and write operations. Create it if the file does not exist and truncate if it exists.
+ Opens the file for read and write operations. The file is created if it does not exist, and truncated if it does. The cursor is positioned at the beginning of the file.
</constant>
<constant name="COMPRESSION_FASTLZ" value="0" enum="CompressionMode">
Uses the [url=http://fastlz.org/]FastLZ[/url] compression method.