Hi Jerson

thanks for the reply

the 1st point i have removed the lines for that and forgot to put them back in (i removed them to make it a bit simpler to follow).

the second point is i think where the problem with the conversion is occurring.
i get compile errors if i try to force the variables to hex.

dj.lambert