Mike Shaver wrote:
> David Bradley wrote:
> 
>> It'd be much like creating an instance and then calling 
>> object.Init("one", "two");
> 
> 
> 
> The typelib format has a facility for tagging a method as being a 
> constructor, and I think jband had dreams of making
> 
>   obj = new Components.classes["@myclass"]("one", "two");
> 
> work, maybe even with prettier class names.
> 
> 
> Mike
> 

I created Components.Constructor instead:
http://mozilla.org/scriptable/components_object.html#_Constructor

John.


Reply via email to