<font color='black' size='2' face='arial'>From patching I know that it would be far more convenient to be able to reference the patch-local $0 variable in messages. 
<div>Perhaps in that case <span style="font-size: 10pt;">there should also be a [selector] object that reports the selector of a message? getting it using [route] seems</span></div>

<div><span style="font-size: 10pt;">unnecessarily complicated..</span></div>

<div><br>
</div>

<div>On the other hand, having $0 represent the selector would be the most consistent solution, because you can not get other patch-local variables</div>

<div>or arguments in message boxes, and yet you can use $1 $2 etc. to refer to the elements of an incoming message. So the behavior of dollar signs</div>

<div>in object boxes and message boxes is already separate and have very different uses.<span style="font-size: 10pt;"> I</span><span style="font-size: 10pt;">t almost would seem more confusing to be the same</span></div>

<div>for just 1 of the dollar sign numbers, yet different for all the others.</div>

<div><br>
</div>

<div>-Seb</div>

<div>
<div><br>

<div style="font-family:helvetica,arial;font-size:10pt;color:black">-----Original Message-----<br>
From: Jonathan Wilkes via Pd-list <pd-list@lists.iem.at><br>
To: pd-list <pd-list@lists.iem.at>; Roman Haefeli <reduzent@gmail.com><br>
Sent: Wed, Apr 4, 2018 1:00 am<br>
Subject: Re: [PD] suggestion: $0 in messages<br>
<br>


<div id="AOLMsgPart_1.2_748b367f-bdbc-4259-8b9f-0010d585d92d">

<div class="aolReplacedBody">
<div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">
<div></div>

<div dir="ltr">> Why is nobody complaining about not being able to use the third </div>

<div dir="ltr">> creation argument directly withing a message? What's the fuzz about the<br clear="none">
<div class="aolmail_ydp786548a0yqt7904893037" id="aolmail_ydp786548a0yqtfd38988">> $0?</div>
</div>

<div dir="ltr"><br>
</div>

<div dir="ltr">$0 isn't part of the argument vector. It's a unique id automatically </div>

<div dir="ltr">generated for a patch/abstraction which the user happens to access </div>

<div dir="ltr">through a dollarsign variable.<br clear="none"></div>

<div dir="ltr"><br>
</div>

<div dir="ltr">That locality hack doesn't require that the unique id be fetched by </div>

<div dir="ltr">an unused dollarsign arg. For example, you could reserve the keyword </div>

<div dir="ltr">"let" such that a message box with "let token2" would get converted </div>

<div dir="ltr">behind the scenes to "1003-token2".</div>

<div dir="ltr"><br>
</div>

<div dir="ltr">When users for a decade have said they wanted $0 in msg boxes, </div>

<div dir="ltr">they mean that they want to use Pd's notion of send-symbol locality </div>

<div dir="ltr">inside message boxes. They want that instead of manually querying </div>

<div dir="ltr"> the value of a reserved dollarsign variable and sending that value </div>

<div dir="ltr">to the relevant message box in order to get "let" behavior.</div>

<div dir="ltr"><br>
</div>

<div dir="ltr">Also, since "$0" is already being used for this purpose it doesn't </div>

<div dir="ltr">make much sense to try to also get "$0" to refer to the selector. </div>

<div dir="ltr">You'd end up with inconsistent meaning where it fetches the </div>

<div dir="ltr">selector in msg boxes but not in object boxes. Plus you can </div>

<div dir="ltr">already get the selector of an incoming message with [list] </div>

<div dir="ltr">whereas you cannot get an abstraction's selector (which would </div>

<div dir="ltr">be handy for error reporting). So adding that inconsistency </div>

<div dir="ltr">would only duplicate existing functionality without adding </div>

<div dir="ltr">new functionality. </div>

<div dir="ltr"><br>
</div>

<div dir="ltr">-Jonathan<br>
</div>

<div dir="ltr"><br clear="none">> Roman</div>

<div id="aolmail_ydp786548a0yahoo_quoted_3239162839" class="aolmail_ydp786548a0yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
<div class="aolmail_ydp786548a0yqt7904893037" id="aolmail_ydp786548a0yqtfd89569">_______________________________________________<br clear="none"><a shape="rect" rel="noopener noreferrer" target="_blank" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" rel="noopener noreferrer" target="_blank" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div>
</div>

                </div>

            </div>
</div>
</div>

</div>

_______________________________________________
Pd-<a href="mailto:list@lists.iem.at">list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a>
</div>
</div>
</div>
</font>