Need more hints?
Replace the ReadValue() line with WriteValue(), taking out the parts that print to the screen and add the extra parm the function needs.

I generally post code using ReadValue() since it is safer for testing than WriteValue().
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.