Home » Developing U++ » UppHub » Functions4U_Demo: Inconsistent result of GetRelativePath
Functions4U_Demo: Inconsistent result of GetRelativePath [message #50496] |
Mon, 12 November 2018 03:36 |
bozero
Messages: 20 Registered: June 2018
|
Promising Member |
|
|
GetRelativePath("\books\technology\computers", "\books\biology\mammals")
= "..\biology\mammals" (should be: "../../biology/mammals") <---
GetRelativePath("\books\technology\computers", "\books\technology\computers")
= "" (should be: "")
GetRelativePath("\books\technology\computers", "\books2\biology\mammals")
= "..\..\books2\biology\mammals" (should be: "../../../books2/biology/mammals") <---
GetRelativePath("c:\books\technology\computers", "y:\books2\biology\mammals")
= "Null"
best regards
windows10 + U++12016(MinGW-w64 toolchain)
|
|
|
Goto Forum:
Current Time: Wed May 08 04:59:55 CEST 2024
Total time taken to generate the page: 0.02394 seconds
|