system.directory.relative

Syntax

srel := system.directory.relative(sdir<,sdirbase>)

Returns the path/directory sdir, made relative to the directory sdirbase. If sdirbase is not provided, then the current directory is used.

Returns:srel - directory sdir relative to the directory sdirbase
Arguments:sdir - The original directory entry. sdirbase - the directory reference against which to change sdir.