Difference between revisions of "love.filesystem.getWorkingDirectory"

m (Add newin)
 
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 13: Line 15:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the current working directory.}}
 
{{#set:Description=Gets the current working directory.}}
{{#set:Since=000}}
 
 
== 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