Difference between revisions of "love.filesystem.write"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Write data to a file
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 15: Line 15:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Write data to a file}}

Revision as of 16:17, 14 February 2010

Write data to a file

Function

Synopsis

success = love.filesystem.write( name, data, size )

Arguments

string name
The name (and path) of the file
string data
The data that should be written to the file
number size (all)
How many bytes to write

Returns

boolean success
If the operation was successful

See Also