Subj : Re: AutoConfigProxy -> JSEng To : Mark Warren From : Brendan Eich Date : Thu Apr 01 2004 04:22 am Mark Warren wrote: > You need to set *rval to either JSVAL_TRUE or JSVAL_FALSE to return a > boolean value back to the script. Returning JS_TRUE/JS_FALSE from the > function simply tells the JS engine whether to continue or abort execution. Right -- thanks for following up, showing JSVAL_TRUE and JSVAL_FALSE in particular. But one note: it's bad practice to return false from the C function to abort execution, without reporting the error or calling an API or one of your own subroutines that reported for you. Silently aborting is painful -- it's difficult to find whodunnit. /be .