[Gambas-user] Application.Path

Benoît Minisini gambas at ...1...
Thu Feb 13 08:33:04 CET 2003


Le Mercredi 12 Février 2003 22:07, Charlie a écrit :
> Salut Benoit,
>
> found a strange thing:
> if you use Application.path it depends the kind how you start the
> Executable.
>
> using X and open the folder, click to the Executable (starting in
> Terminal) + OK and
> for me /home/charlie/ga-projects/Test/ApplicationPath/ApplicationPath
>
> I have as return /home/charlie/ga-projects/Test/ApplicationPath/
>
> If I cd into /home/charlie/ga-projects/Test/ApplicationPath
> and type   ApplicationPath or ./ApplicationPath the return is a '.' (a
> Point)
>
> So Application.path is not usable!
>
> amicalement Charlie

Hum. I think it is a little bug. Application.Path should always return a 
absolute path. I will correct it :-)

-- 
Benoît Minisini
mailto:gambas at ...1...




More information about the User mailing list