<html><head><style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
table { border-collapse: collapse; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] {  list-style-position: inside;}
body { font-family: 'Segoe UI'; font-size: 12pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
--></style></head><body><div><br /></div>
<div style="clear:both"><br /></div>
<div><br /></div>
<div>
<div>On 12-Jul-24 3:30:39 PM, "Mark Volkmann via Cuis-dev" <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:</div></div><div><br /></div>
<div id="x1a3775ad8d054dc"><blockquote cite="CAFfRWnVCYCpiZ2ZHAvE+SE3S=VhC6wmkVikeDUH_Uvy43XouOw@mail.gmail.com" type="cite" class="cite2">
<div dir="ltr">I understand that Object is a subclass of ProtoObject and that the `basicNew` and `new` methods are defined in Behavior. But I can't find a relationship between Object and Behavior</div></blockquote><div id="x1a3775ad8d054dc">Object class superclass superclass superclass superclass   " --> Behavior "</div><div id="x1a3775ad8d054dc"><br /></div><br /><blockquote cite="CAFfRWnVCYCpiZ2ZHAvE+SE3S=VhC6wmkVikeDUH_Uvy43XouOw@mail.gmail.com" type="cite" class="cite2"><div dir="ltr">, or between ProtoObject and Behavior. Can someone explain how it is that I can send `#new` to any object? </div></blockquote><div id="x1a3775ad8d054dc">In general you don't send #new to _any_ object but usually just to classes. They are instances of other classes (metaclasses) - like Object class etc. And all metaclasses are subclassed from Class which in turn is a subclass of Behavior.</div><div id="x1a3775ad8d054dc"><br /></div><div id="x1a3775ad8d054dc">Here's a nice description by Leandro Caniglia: <a href="https://stackoverflow.com/questions/57898036/is-it-true-that-metaclass-class-is-just-metaclass" style="font-size: 12pt;">https://stackoverflow.com/questions/57898036/is-it-true-that-metaclass-class-is-just-metaclass</a></div><br /><blockquote cite="CAFfRWnVCYCpiZ2ZHAvE+SE3S=VhC6wmkVikeDUH_Uvy43XouOw@mail.gmail.com" type="cite" class="cite2"><div dir="ltr">How does it find that method in `Behavior`? I tried to use the debugger to discover the answer, but that didn't help me to find the answer.<br clear="all" /><div><br /></div><span class="gmail_signature_prefix">-- </span><br /><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8000001907349px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div>
</blockquote></div>
</body></html>