Error using User Function - even with Script Builder

Error using User Function - even with Script Builder

Having written a function (to convert Decimal to Hex), I wanted to use it in my script.

Either using Free-Flow or Script Builder (and have tried it in both old & new versions)....I get an error just trying to add the function....