Difference between revisions of "love.filesystem.getWorkingDirectory"

m (included link to other languages)
m (Add newin)
 
(2 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 16:
 
{{#set:Description=Gets the current working directory.}}
 
{{#set:Description=Gets the current working directory.}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|love.filesystem.getWorkingDirectory}
+
{{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