WHFSFolder::OpenByPath (open)

Looks up a file or folder within this folder by relative path

Syntax

LOADLIB "mod::system/lib/internal/whfs/objects.whlib";

OBJECT FUNCTION OpenByPath(STRING findpath, RECORD options)

Parameters

STRING findpath

Path of file/folder, relative to this path

RECORD options

Options

expect

If set to "folder", "file" or "any", throw if the object was not found or not of the expected type

Return value

OBJECT

WHFS object