the call can be used when you have the UDF in separate "UDF library file" (nice name [Wink] )

if you have a udf you don't want to call, like if you prefer it to be in the same kix-file, just add the function (everything beginning from function to endfunction) into your script.

there are many places where you can place it like above anything else.
most ppl prefer them at the end of the file.

basically, you can insert it anywhere (not inside loops [Wink] ) but that is your call.
just remember that UDFs are not executed automatically they are just readen from the script file when script loads the file...
_________________________
!

download KiXnet