From 5e77eea2167db1f3c3d974ebfda54dc67b9e9519 Mon Sep 17 00:00:00 2001 From: Maganty Rushyendra Date: Tue, 4 Aug 2020 13:05:48 +0800 Subject: Updated cursor positioning description for File open() Added more details about the cursor offsets for the different ModeFlags in the `File` class. --- doc/classes/File.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/classes') 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 @@ - Opens the file for read operations. + Opens the file for read operations. The cursor is positioned at the beginning of the file. - 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. - 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. - 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. Uses the [url=http://fastlz.org/]FastLZ[/url] compression method. -- cgit v1.2.3