Simon Glover <[EMAIL PROTECTED]> wrote: > ... However, if we > want to create an anonymous subclass, using the 2-argument form of the > subclass op, then we hit a problem -- the code:
> newclass P0, "City" > subclass P1, P0 > newclass P2, "State" > subclass P3, P2 > end > also fails, with the error: > Class already registered! Fixed. Internal anonymous names are now different. > ... , or change how subclass generates > classnames for anonymous subclasses? [*]. > [*] Yes, I know this sounds odd, but we need to be able to distinguish > between an anonymous subclass of Foo and an anonymous subclass of Bar, > which implies it must have some kind of name beyond ''. These are now "Foo\0\0anon_1" and "Bar\0\0anon_2". leo