Subj : Re: How to convert some C-values to jsval? To : netscape.public.mozilla.jseng From : =?ISO-8859-1?Q?Georg_Maa=DF?= Date : Sun Aug 03 2003 07:55 am Brendan Eich wrote: > You are reading jsapi.h and the API docs, right? They do not contain samples for what I'm looking for. They jsapi.h contains only the signatures of the functions but not any idea of how to use them. I.e. there are different functions to create an object. like JS_NewObject, JS_ConstructObject, JS_ConstructObjectWithArguments and JS_DefineObject. But I never found anything about the differences between JS_NewObject and JS_ConstructObject. When should I use the one and when the other? The stuff is absolutely confusing too me. -- Georg Maaß - bioshop.de D-93466 Chamerau, Roßbergweg 42 JavaScript, C++ Engineering - The ultimative DHTML engine: http://gml-modul.sourceforge.net - http://sourceforge.net/projects/gml-modul .