##### Views

- Page
- Discussion
- View source
- History

# FileMode

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

- File
- File:open
- love.filesystem
- love.filesystem.newFile

## Other Languages

Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – Tiếng Việt – 한국어
More info

Retrieved from "https://www.love2d.org/wiki/FileMode"
Category: Enums

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties