Sets a single license values on the current license. May not be used on variables that are declared read-only.

Parameters: Three <string> values, which must be specified in the following order:

product - the Product ID code for the product you want to query.
varname - the name of the value to set.
value - the value to set. (optional; if not set then the value will be cleared)
logonly - set to 1 to indicate that the variable is for logging only; this means that the value will be logged on the server but will not be saved to the current license. (optional; defaults to 0 (false))

Return values: A <struct> of name-value pairs, containing the following values:

value type description
error <int> An error code. See below for a list of error codes.
message <string> A text description of the error code.