with the call line you just inject the udf source to your script during runtime.
to execute the udf, you need to add anywhere in your script after that injection a simple line of:
Code:
outlook()


to explain a little further, UDF is just a function declaration. it says what is the name of the function and it's parameters and what to do when it's called.
when you have defined it, you can use it the same as any kixtart internal function, like readvalue()
the only difference is that readvalue() is already declared inside the kixtart executable and UDF is something you define/declare yourself.


Edited by Jooel (2006-12-12 10:27 PM)
_________________________
!

download KiXnet