Hi and welcome to the board.

You can put your function in a separate file and call it from the main script like this.

 Code:
call @SCRIPTDIR + "\functions\somefunction.kix"


After you called the function you can use it just like any other function that is embedded in kixtart.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.