look in the manual how to set udf to return a value.
clue, it has to do with var and the udf-name.
_________________________
!

download KiXnet