> So there is a need for having one or more methods that can be used for 
> forcing the invocation of the ooRexx .Object methods. 
The syntax described in 4.2.7 Changing the Search Order for Methods could be 
used, if the restriction 
"Message search overrides can be used only from methods of the target object”
was removed.

It works with oorexx4, after removing the check
    if (_target != context->getReceiver())
in RexxExpressionMessage::evaluate.

s1 = "hello"
s2 = "hello"
say s1~"="(s2) -- display 1
say s1~"=":.Object(s2) -- display 0 because not the same objects


_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to