New nsIScriptable interface: Difference between revisions

Jump to navigation Jump to search
Line 19: Line 19:
* Implement "Visual Basic-isms" in IDispatch - specifically, no distinction between a "property put by value" and "property put by reference" (ie, VBs "let" vs "set"), and combining "property get" and "method call" in the flags will be illegal (ie, VB allows you to omit the parens when calling subroutines, making such calls indisinguishable from a property reference)
* Implement "Visual Basic-isms" in IDispatch - specifically, no distinction between a "property put by value" and "property put by reference" (ie, VBs "let" vs "set"), and combining "property get" and "method call" in the flags will be illegal (ie, VB allows you to omit the parens when calling subroutines, making such calls indisinguishable from a property reference)


=== DispID mapping ===
=== Identifier mapping ===


Like MSCOM, integer IDs are used to identify attributes on an object.  Functions are provided to convert from names to IDs, or from IDs to names.
Like MSCOM, integer IDs are used to identify attributes on an object.  Functions are provided to convert from names to IDs, or from IDs to names.
Confirmed users, Bureaucrats and Sysops emeriti
419

edits

Navigation menu