My statement about the VAL function was incorrect. I spoke before I tested.
code:
$Val = $val | &40  

worked too.

[ 26. August 2002, 01:51: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/