GetHarescriptLibraryInfo (open)
Returns information about a library
Syntax
LOADLIB "wh::devsupport.whlib";
RECORD FUNCTION GetHarescriptLibraryInfo(STRING liburi)
Parameters
STRING liburi
Resourcename of the library
Return value
RECORD
Information about the library
DATETIME compile_id
Compile ID
RECORD ARRAY errors
List of errors
INTEGER errors.code
Error code
INTEGER errors.col
Column number for the error
STRING errors.filename
Filename for the error
STRING errors.func
Function where the error occurred
BOOLEAN errors.iserror
Whether this is a error
BOOLEAN errors.istrace
Whether this is a trace
BOOLEAN errors.iswarning
Whether this is a warning
INTEGER errors.line
Line number for the error
STRING errors.message
Error message
STRING errors.param1
First parameter for the error message
STRING errors.param2
Second parameter for the error message
BOOLEAN loadable
Whether the library can be loaded safely in the current context
BOOLEAN loaded
Whether the library is loaded in the current script
BOOLEAN outofdate
Whether the library is out of date
BOOLEAN valid
Whether resource compiles (if not, errors contains an error)