Difference between revisions of "love.filesystem.load"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Load a file (but not run it)
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Load a file (but not run it)}}

Revision as of 16:17, 14 February 2010

Load a file (but not run it)

Function

Synopsis

chunk = love.filesystem.load( name )

Arguments

string name
The name (and path) of the file

Returns

function chunk
The loaded chunk

See Also