hmmm, if you convert the boolean to something like a long with 4.10's CInt() function - it works ok ...

break on

func()

@ERROR

exit 1

function func()
$func = exist("")
; $func = CInt(exist(""))
exit 4
endfunction

-Shawn