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 findpathPath of file/folder, relative to this path
RECORD optionsOptions
expectIf set to "folder", "file" or "any", throw if the object was not found or not of the expected type
Return value
OBJECTWHFS object