Thats mostly because Kixtart is crashing (for me anyways), check your eventlog after running this (untokenized):

SUB.KIX

break on

function add($a, $b)

$add = $a + $b

endfunction


MAIN.KIX

break on

include "sub.kix"

?"value=" add(1,2)

exit 1


If you change the INCLUDE to be a CALL, it runs fine - my guess is that Ruud intended include to be like a call (that doesn't crash).

-Shawn