GetHarescriptResource (open)

Open a HareScript resource file as a blob

Syntax

LOADLIB "wh::files.whlib";

BLOB FUNCTION GetHarescriptResource(STRING path)

Parameters

STRING path

Path to resource to open (eg wh::...)

Return value

BLOB

A blob with the file. If the file cannot be found OR you are not allowed to get the file you'll get an 'No such HareScript resource' exception.