GetHareScriptMessageText (open)

Build the message text for an HareScript errror or warning

Syntax

LOADLIB "wh::devsupport.whlib";

STRING FUNCTION GetHareScriptMessageText(BOOLEAN iserror, INTEGER code, STRING param1, STRING param2)

Parameters

BOOLEAN iserror

TRUE for errors, FALSE for warnings

INTEGER code

Error/warning code

STRING param1

First parameter for the message

STRING param2

Second parameter for the message

Return value

STRING

Readable error message