Hi,
If you bang a [dirpanel] and browse for a directory in Windows, if you select any folder that is not the root of a disk, you get:
symbol X:/path/to/the/folder
NOT ending with slash.
However, if you select the root of drive X, you get:
X:/
WITH the ending slash.
Isn't this inconsistent? Shouldn't the output either always or never include the ending slash? (I don't know which of the two would be better).
This means for example that you can't safely use
[symbol $1/mysubfolder(
and expect it to work in all cases. Just an example.
Matteo Sisti Sette matteosistisette@gmail.com http://www.matteosistisette.com
Matteo Sisti Sette wrote:
If you bang a [dirpanel] and browse for a directory in Windows, if you select any folder that is not the root of a disk, you get:
symbol X:/path/to/the/folder
NOT ending with slash.
However, if you select the root of drive X, you get:
X:/
WITH the ending slash.
Isn't this inconsistent? Shouldn't the output either always or never include the ending slash? (I don't know which of the two would be better).
The pathname of the root directory is "/" so it is actually a beginning slash, so it's consistent.
Martin