ResolveToRelativePath (open)

Resolve an absolute path to a relative path (with respect to a basepath)

Syntax

LOADLIB "wh::files.whlib";

STRING FUNCTION ResolveToRelativePath(STRING basepath, STRING targetpath)

Parameters

STRING basepath

Base path

STRING targetpath

Path to resolve

Return value

STRING

Path resolved relative to base path