Path_IsRelative

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > File > PATH: functions working on paths >

Path_IsRelative

 

Description

 

Returns %TRUE if sPath is relative. %FALSE if not.

 

Syntax

 

n = Path_IsRelative(sPath)

 

Returns

 

Number.

 

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

 

File Module,

 

Examples