[Gambas-user] Path specification

Tobias Boege taboege at gmail.com
Sun Aug 19 11:47:12 CEST 2018


On Sat, 18 Aug 2018, Hans Lehmann wrote:
> Hello Charlie,
> 
> what is special about the following line with regard to the path
> specification:
> 
> Dim sFile As String = File.Load("../.project")
> 
> ?
> 

This is documented here: http://gambaswiki.org/wiki/cat/path

A relative path starting with ".." references a data file in the
currently running *project*, even if that code is executed from
a component or library.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk


More information about the User mailing list