Subj : Re: Iterate all functions in script To : Forest Carlisle From : Brendan Eich Date : Fri May 07 2004 12:36 pm Forest Carlisle wrote: > I get a vector with 15 itmes in it now, but not of the id's pass the > JSVAL_IS_FUNCTION check. > When I forgo this check I get errors that state "'string' is not a function" > when I call JS_ValueToFunction. The identifier converts to a string or int jsval, which is the name of the function in this case. You have to JS_GetUCProperty or similar to get the *value* of the identified property. See news://news.mozilla.org:119/409A7DC5.8030109@meer.net. /be .