<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > File > PATH: functions working on paths > Path_ToAbsolute |
Description
Transform a relative path to an absolute path starting from a BASE Path.
Syntax
sPath = Path_ToAbsolute(sBASEPath, sRelativePath)
Returns
String.
Parameters
Name |
Type |
Optional |
Meaning |
sPath |
String |
No |
Remarks
A relative path refers to a location that is relative to another directory. Relative paths make use of two special symbols, a dot (.) and a double-dot (..), which translate into the current directory and the parent directory. Double dots are used for moving up in the hierarchy. A single dot represents the current directory itself.
Restrictions
See also
Examples