See the FAQ Forum under How to write a UDF and How to use UDFs
_________________________
There are two types of vessels, submarines and targets.