Difference between revisions of "love.filesystem.getWorkingDirectory"

m (1 revision: Importing from potato (again).)
m (Add newin)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{newin|[[0.5.0]]|050|type=function}}
 +
Gets the current working directory.
  
Gets the current working directory.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 15:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the current working directory.}}
 
{{#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