Difference between revisions of "FileMode"

m (Added love.filesystem as a parent)
m
 
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.
Line 11: Line 11:
 
* [[love.filesystem.newFile]]
 
* [[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