GetHarescriptLibraryInfo (open)
Returns information about a library
Syntax
LOADLIB "wh::devsupport.whlib";
RECORD FUNCTION GetHarescriptLibraryInfo(STRING liburi)Parameters
STRING liburiResourcename of the library
Return value
RECORDInformation about the library
DATETIME compile_idCompile ID
RECORD ARRAY errorsList of errors
INTEGER errors.codeError code
INTEGER errors.colColumn number for the error
STRING errors.filenameFilename for the error
STRING errors.funcFunction where the error occurred
BOOLEAN errors.iserrorWhether this is a error
BOOLEAN errors.istraceWhether this is a trace
BOOLEAN errors.iswarningWhether this is a warning
INTEGER errors.lineLine number for the error
STRING errors.messageError message
STRING errors.param1First parameter for the error message
STRING errors.param2Second parameter for the error message
BOOLEAN loadableWhether the library can be loaded safely in the current context
BOOLEAN loadedWhether the library is loaded in the current script
BOOLEAN outofdateWhether the library is out of date
BOOLEAN validWhether resource compiles (if not, errors contains an error)