It *could* be done, but currently *can't* be done. This breaks the encapsulation model for Rexx objects, and so far, I'm not willing to open that up. I did this a little bit with the CSELF capability, but I that's enough of a special case for native code that I was willing to do that.
Rick On Wed, Apr 1, 2009 at 1:42 PM, Moritz Hoffmann <[email protected]> wrote: > Rick McGuire schrieb: >> The "scope" is the hierarcy level that defines a given method. For example, >> >> ::class foobar >> ::method foo >> say "hello" >> >> ::class fubar subclass foobar >> ::method fu >> say "goodbye" >> >> The scope of the "foo" method is the .Foobar class. The scope of the >> "fu" method is the "fu" class. The method scope determines a lot of >> things, such as which variable pool gets accessed by the EXPOSE >> instruction and what value SUPER gets set to in that method's context. >> >> Generally, the scope object is a class, but for methods that are added >> directly to object instances, the scope ends up being the object >> instance. > > Could the scope object be used to access the variable pool of an object > in a specific scope that is declared by a class? The serialization code > I was writing has the problem, that classes and sub classes are not well > handled. This is because there was no way to access the variable pool of > an object. To make things more programmer friendly it would be good if > the variable pool could be accessed for each class the object inherits > from. Each variable could then be serialized automatically (of course, > this would require something like transient in Java.) > > Did I understand it correctly? > > Maybe I'll find time to continue working on this, but university plus my > IBM job keeps me so busy... > > Moritz > > ------------------------------------------------------------------------------ > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > ------------------------------------------------------------------------------ _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
