that works as intended, inside expressions numeric values are parsed/handled as Numbers.
This completely messes up the values of the variables that we want to dynamically edit and use in the code. For example, you can't use 'subtxt, indexoftxt' etc. because we have no control over the length of the variable. It's not clear when the 'conversion' occurs, which is why I reported the bug.
But this could be bypassed using get() there:
That's what I did.
Btw - in version 1.22 there is a new/builtin 'tohexcolor' function for converting Numbers automatically to a hex-color-string:
When you release 1.22 I will do new tests on my code.
Regars
Piotr