bbmod_path_get_relative

A function defined in __bbmod_path.gml

bbmod_path_get_relative(_path[, _start])

Description

Retrieves a relative version of a path.

Arguments

Name Type Description
_path String The path to get a relative version of. Must be absolute!
_start String Which path should it be relative to. Must be absolute! Defaults to the working directory.

Returns

String The relative path.

Note

If given paths are not on the same drive then an unmodified path is returned!

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.