String is open and dynamic!
Lars T Hansen
lth at acm.org
Thu Sep 27 06:58:55 PDT 2007
You can subclass "String" but not "string", and the latter is not a
subclass of the former, which is just a container class. So I might
not open the Champagne quite yet, if I were you.
On 9/27/07, P T Withington <ptw at pobox.com> wrote:
> I was just about to ask if I would be able to subclass String in es4,
> and I find I can! Hurray!
> (Because the OpenLaszlo debugger creates 'annotated' strings with its
> printf method that remember the objects associated with each string
> representation. I have to kludge this in es3 because these annotated
> strings are not instances of String...)
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
More information about the Es4-discuss