Difference between revisions of "love.filesystem.read"
(what is returned if error while reading) |
|||
Line 11: | Line 11: | ||
{{param|string|contents|The file contents}} | {{param|string|contents|The file contents}} | ||
{{param|number|size|How many bytes have been read}} | {{param|number|size|How many bytes have been read}} | ||
+ | === Returns (if error on reading) === | ||
+ | {{param|nil|-|returns nil as content}} | ||
+ | {{param|string|error|returns an error message}} | ||
== See Also == | == See Also == | ||
* [[parent::love.filesystem]] | * [[parent::love.filesystem]] |
Revision as of 10:12, 4 July 2017
Read the contents of a file
Contents
Function
Synopsis
contents, size = love.filesystem.read( name, size )
Arguments
Returns
Returns (if error on reading)
See Also
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