Difference between revisions of "love.filesystem.getWorkingDirectory"

 
m (Add newin)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
{{newin|[[0.5.0]]|050|type=function}}
 +
Gets the current working directory.
  
 
== Function ==
 
== Function ==
Line 13: Line 14:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Gets the current working directory.}}
 +
== Other Languages ==
 +
{{i18n|love.filesystem.getWorkingDirectory}}

Latest revision as of 12:16, 15 December 2018

Available since LÖVE 0.5.0
This function is not supported in earlier versions.

Gets the current working directory.

Function

Synopsis

cwd = love.filesystem.getWorkingDirectory( )

Arguments

None.

Returns

string cwd
The current working directory.

See Also

Other Languages