Subj : how to get how many lines passed to the Spidermonkey engine? To : netscape.public.mozilla.jseng From : zhimakaiman Date : Mon May 24 2004 11:11 pm I use JS_EvaluateScript to evaluate script, if success, how can I get how many lines it evaluated (I will use it later), do I have to calcualte myself ? I dont know the lineno use for in the function--JS_EvaluateScript, it seem it won't give me error line number if failed. JSBool JS_EvaluateScript(JSContext *cx, JSObject *obj, const char *bytes, uintN length, const char *filename, uintN lineno, jsval *rval); Thanks zhi Ma .