Im the "Top Poster" around here. Which in itself doesn't say very much other than the fact that i tend to blab alot.

A UDF is a User Define Function, one of the new features of KiXtart 4.0 whereby one can define their own functions and use them just like any other bultin function, for example, if I wanted to create a function to add two numbers together, i would do this:

function add($n1,$n2)
$add = $n1+$n2
endfunction

place this anywhere in your script, then "call" it and bob's your uncle.

$answer = add(1,2)

-Shawn