<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Personally, I often use $0 in large "initializer" message boxes:</p>
<pre>[;$0-foo 10</pre>
<pre>;$0-bar 50</pre>
<pre>;$0-baz 10</pre>
<pre>etc.(
</pre>
<p>I like this better than creating dozens of individual [s]
objects. The workaround is to use $1 instead and pass the $0 from
a [float] object, but yeah...<br>
</p>
<p>It's also an issue when I want to create a message like this:</p>
<pre>[read media/$1-$2.wav $0-buf-l $0-buf-r(</pre>
<p>I basically have to append $0 to the incoming list and offset all
dollars by 1:</p>
<pre>[read media/$2-$3.wav $0-buf-l $1-buf-r(
</pre>
<p>It's just unnecessary mental overhead.</p>
<p>Of course, I could do this instead:</p>
<pre>[list append read media/$1-$2.wav $0-buf-l $0-buf-r] -> [list trim]</pre>
<p>But I find this ugly and unnecessary.<br>
</p>
<p>
<blockquote type="cite">
<blockquote type="cite">Whenever we need "$0" for a send name, </blockquote>
<br>
then i tyically use [send $0-foo], where there's no msgbox
involved at all.
</blockquote>
The message box syntax is often more convenient:</p>
<pre>[;$0-array const $1(
</pre>
<p>Of course, I could just as well write</p>
<pre>[const $1( -> [s $0-array]</pre>
<p>but people are lazy :-)</p>
<p>---</p>
<p>IMO it is a real pain point. Otherwise this topic wouldn't come
up again and again...<br>
</p>
<p>Christof<br>
</p>
<div class="moz-cite-prefix">On 02.12.2021 23:09, IOhannes m zmölnig
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6c2118d6-569b-fec5-a3dd-a372a09199dd@iem.at">On 12/2/21
18:35, Alexandre Torres Porres wrote:
<br>
<blockquote type="cite">Em qui., 2 de dez. de 2021 às 13:19, Ico
Bukvic <a class="moz-txt-link-rfc2396E" href="mailto:ico@vt.edu"><ico@vt.edu></a> escreveu:
<br>
<br>
<blockquote type="cite"> although the use cases of $0 inside a
message remain relatively sparse.
<br>
<br>
</blockquote>
<br>
I say it's very common. </blockquote>
<br>
that's funny.
<br>
from my perspective (and i don't know anything, really) it *seems*
that ico is speaking from the POV of someone who has been working
with msgboxes that expand $0 for some time, whereas alex is mostly
talking from a "wishlist" perspective.
<br>
<br>
as such i find it intersting that the two of you come to radically
different conclusions about how *actually* useful that feature
really is.
<br>
<br>
<blockquote type="cite">Whenever we need "$0" for a send name, </blockquote>
<br>
then i tyically use [send $0-foo], where there's no msgbox
involved at all.
<br>
<br>
<br>
<blockquote type="cite">a table name
<br>
</blockquote>
<br>
then i tyically use [array define $0-foo], where there's no msgbox
involved at all.
<br>
<br>
<br>
<blockquote type="cite">or using messages as sends ;)
<br>
</blockquote>
ah indeed. [; $0-foo init(
<br>
<br>
can't say i miss this much (but ymmv).
<br>
<br>
<br>
the *only* reason why i ever wanted to use $0 in a msgbox is for
interacting with [soundfiler].
<br>
<br>
<br>
fmsd
<br>
IOhannes
<br>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</body>
</html>