Originally Posted By: Jooel
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.


oh..i think i see what you are saying. so it would be like this?
Code:
break on
;placing the CALL here works
call @lserver + 'Netlogon\outlook.udf'
get $_
Exit 1
outlook()
 


the call loads the function, then the outlook() actually executes it?