Difference between revisions of "FileMode"

m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
The different modes you can open a file in.
+
The different modes you can open a [[File]] in.
 
== Constants ==
 
== Constants ==
 
;r: Open a file for read.
 
;r: Open a file for read.
 
;w: Open a file for write.
 
;w: Open a file for write.
 
;a: Open a file for append.
 
;a: Open a file for append.
 +
;c: Do not open a file (represents a closed file.)
 
== See Also ==
 
== See Also ==
 
* [[parent::File]]
 
* [[parent::File]]
 
* [[(File):open|File:open]]
 
* [[(File):open|File:open]]
 +
* [[parent::love.filesystem]]
 +
* [[love.filesystem.newFile]]
 
[[Category:Enums]]
 
[[Category:Enums]]
{{#set:Description=The different modes you can open a file in.}}
+
{{#set:Description=The different modes you can open a [[File]] in.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|FileMode}}
 
{{i18n|FileMode}}

Latest revision as of 07:32, 11 September 2013

The different modes you can open a File in.

Constants

r
Open a file for read.
w
Open a file for write.
a
Open a file for append.
c
Do not open a file (represents a closed file.)

See Also


Other Languages