$ 0 0 Thanks for your help Mark, I did manage to get this working by casting to short. I'll keep plugging away. I'm learning so much from this library - thanks!