<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1490557107111_5676">One possibility might be to use the "-legacy" flag to revert back <br></div><div dir="ltr">to the Vanilla behavior of no mixed arguments.</div><div dir="ltr"><br></div><div dir="ltr">But I'll definitely test/read the code some more to make sure there <br></div><div dir="ltr">isn't any weirdness that crept in.</div><div dir="ltr"><br></div><div dir="ltr">-Jonathan<br></div><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_1_1490557107111_5620" style="display: block;"><div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;" id="yui_3_16_0_1_1490557107111_5619"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1490557107111_5618"><div class="y_msg_container" id="yui_3_16_0_1_1490557107111_5679"><br><div id="yiv0226935545"><div id="yui_3_16_0_1_1490557107111_5681">
    <div id="yui_3_16_0_1_1490557107111_5680">Then it may be a regression.</div>
    <div id="yui_3_16_0_1_1490557107111_5682">Best,</div>
    <div id="yui_3_16_0_1_1490557107111_5792">Ico<br clear="none">
    </div>
    <br clear="none">
    <div class="yiv0226935545yqt2582952351" id="yiv0226935545yqt74109"><div class="yiv0226935545moz-cite-prefix" id="yui_3_16_0_1_1490557107111_5683">On 3/26/2017 12:32 PM, Jonathan Wilkes
      wrote:<br clear="none">
    </div>
    <blockquote type="cite" id="yui_3_16_0_1_1490557107111_5870">
      <div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;" id="yui_3_16_0_1_1490557107111_5869">
        <div><span></span></div>
        <div class="yiv0226935545qtdSeparateBR" id="yui_3_16_0_1_1490557107111_5868"><br clear="none">
          <br clear="none">
        </div>
        <div class="yiv0226935545yahoo_quoted" id="yiv0226935545yui_3_16_0_1_1490545368428_7223" style="display:block;"><font size="2"><font face="Arial">>
            </font></font>That was so long ago I honestly don't
          remember. What I do remember is that I had to take several
          stabs at this until I got it right. So, there may be another
          commit on top of this that does this the right way. If
          Purr-Data's current behavior matches that of the latest
          pd-l2ork, then this fix may have been superseded by another.<br clear="none">
          <div id="yiv0226935545yui_3_16_0_1_1490545368428_7222" style="font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;">
            <div id="yiv0226935545yui_3_16_0_1_1490545368428_7221" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
              <div class="yiv0226935545y_msg_container" id="yiv0226935545yui_3_16_0_1_1490545368428_7256">
                <div id="yiv0226935545">
                  <div id="yiv0226935545yui_3_16_0_1_1490545368428_7255">
                    <div> </div>
                    <div id="yiv0226935545yui_3_16_0_1_1490545368428_7292"><br clear="none">
                    </div>
                    <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490545368428_7323">They
                      both set the "mode" based on the type of the first
                      argument.  AFAICT the <br clear="none">
                    </div>
                    <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490545368428_7357">singular
                      change was from using argv[n] to using argv[0].</div>
                    <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490545368428_7372"><br clear="none">
                    </div>
                    <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490545368428_7457">Because
                      of this we can't mix float and symbol arguments in
                      [select].  But you <br clear="none">
                    </div>
                    <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490545368428_7465">made
                      changes to [route] that does allow to mix float
                      and symbol arguments.  That's <br clear="none">
                    </div>
                    <div dir="ltr">essentially the same interface with a
                      payload as output, so I'm not sure why [select] <br clear="none">
                    </div>
                    <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490545368428_7540">mixed
                      mode would have caused problems.</div>
                    <div dir="ltr"><br clear="none">
                    </div>
                    <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490545368428_7542">-Jonathan<br clear="none">
                    </div>
                    <div id="yiv0226935545yui_3_16_0_1_1490545368428_7290"> <br clear="none">
                    </div>
                    <div class="yiv0226935545yqt8517995825" id="yiv0226935545yqt00998">
                      <div class="yiv0226935545moz-cite-prefix" id="yiv0226935545yui_3_16_0_1_1490545368428_7288">On
                        3/25/2017 9:44 PM, Jonathan Wilkes wrote:<br clear="none">
                      </div>
                      <blockquote id="yiv0226935545yui_3_16_0_1_1490545368428_7260" type="cite">
                        <div id="yiv0226935545yui_3_16_0_1_1490545368428_7259" style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;">
                          <div id="yiv0226935545yui_3_16_0_1_1490545368428_7258">Hello,</div>
                          <div id="yiv0226935545yui_3_16_0_1_1490484570129_24153">I
                            just noticed this:</div>
                          <div id="yiv0226935545yui_3_16_0_1_1490545368428_7263"><br clear="none">
                          </div>
                          <div id="yiv0226935545yui_3_16_0_1_1490484570129_24177">commit
                            5e18b837acd440ac4751c90c0c0b1e4a71623a2e<br clear="none">
                            Author: Ivica Ico Bukvic <a rel="nofollow" shape="rect" class="yiv0226935545moz-txt-link-rfc2396E" ymailto="mailto:ico@vt.edu" target="_blank" href="mailto:ico@vt.edu"><ico@vt.edu></a><br clear="none">
                            Date:   Thu Jul 18 16:41:53 2013 -0400<br clear="none">
                            <br clear="none">
                                fixed regression in select due to
                            37c0cf150e42e0277a0496cb73d48a114c64f0e7
                            commit which made it behave inconsistently
                            thus making it impossible for floats to be
                            treated as symbols (in cases where first
                            argument was a symbol). Also introduced
                            similar fix to the route object, thus
                            allowing for second inlet to receive either
                            float or symbol<br clear="none">
                          </div>
                          <div id="yiv0226935545yui_3_16_0_1_1490484570129_24189"><br clear="none">
                          </div>
                          <div>***</div>
                          <div id="yiv0226935545yui_3_16_0_1_1490484570129_24263"><br clear="none">
                          </div>
                          <div>What is the regression that this was
                            meant to fix?  Basing the object's "mode"
                            off of the type <br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24280">of
                            the first argument as this commit does will
                            _not_ allow floats to be treated as symbols
                            as the <br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24264">commit
                            message suggests.</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24281"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24289">If
                            the implication is that you want this to
                            work:</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24291">[42(</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24299">|</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24300">[makefilename
                            %d]</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24301">|</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24306">[select
                            blah 42]</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24343"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24344">Then
                            the implication is wrong, because you don't
                            get a match that way under any version of <br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24345">[select]
                            for any version of Pd.  Instead you get a
                            match for the "42" slot on this:</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24346"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24347">[symbol(</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24390">|</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24358">[select
                            blah 42]</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24367"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24398">That
                            is, _any_ numeric argument will match an
                            incoming empty symbol because that's what <br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24399">the
                            SETSYMBOL macro does when you feed it a
                            floatarg.</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24422"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24423">I'd
                            like to revert back to my "mixed" mode
                            algorithm so that the "42" slot matches on
                            this:</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24424"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24425">[42(</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24434">|</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24433">[select
                            blah 42]</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24439"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24447">and
                            the "blah" slot matches on this:</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24448"><br clear="none">
                          </div>
                          <div dir="ltr">[symbol blah(</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24449">|</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24461">[select
                            42 blah]</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24484"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24485">Mixing
                            arg types isn't very common, but this is the
                            only sane behavior I can think of (and it <br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24486">shouldn't
                            have broken any patches in all the time
                            [select] behaved this way in Pd-l2ork).</div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24487"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv0226935545yui_3_16_0_1_1490484570129_24488">-Jonathan<br clear="none">
                          </div>
                        </div>
                        <br clear="none">
                        <fieldset class="yiv0226935545mimeAttachmentHeader"></fieldset>
                        <br clear="none">
                        <pre>_______________________________________________
L2Ork-dev mailing list
<a rel="nofollow" shape="rect" class="yiv0226935545moz-txt-link-abbreviated" ymailto="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
<a rel="nofollow" shape="rect" class="yiv0226935545moz-txt-link-freetext" target="_blank" href="http://disis.music.vt.edu/listinfo/l2ork-dev">http://disis.music.vt.edu/listinfo/l2ork-dev</a></pre>
                      </blockquote>
                    </div>
                    <br clear="none">
                  </div>
                </div>
                <div class="yiv0226935545yqt8517995825" id="yiv0226935545yqt87564">_______________________________________________<br clear="none">
                  L2Ork-dev mailing list<br clear="none">
                  <a rel="nofollow" shape="rect" ymailto="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a><br clear="none">
                  <a rel="nofollow" shape="rect" target="_blank" href="http://disis.music.vt.edu/listinfo/l2ork-dev">http://disis.music.vt.edu/listinfo/l2ork-dev</a></div>
                <br clear="none">
                <br clear="none">
              </div>
            </div>
          </div>
        </div>
      </div>
      <br clear="none">
      <fieldset class="yiv0226935545mimeAttachmentHeader"></fieldset>
      <br clear="none">
      <pre>_______________________________________________
L2Ork-dev mailing list
<a rel="nofollow" shape="rect" class="yiv0226935545moz-txt-link-abbreviated" ymailto="mailto:L2Ork-dev@disis.music.vt.edu" target="_blank" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
<a rel="nofollow" shape="rect" class="yiv0226935545moz-txt-link-freetext" target="_blank" href="http://disis.music.vt.edu/listinfo/l2ork-dev">http://disis.music.vt.edu/listinfo/l2ork-dev</a></pre>
    </blockquote></div>
    <br clear="none">
  </div></div><div class="yqt2582952351" id="yqt80844">_______________________________________________<br clear="none">L2Ork-dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:L2Ork-dev@disis.music.vt.edu" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a><br clear="none"><a shape="rect" href="http://disis.music.vt.edu/listinfo/l2ork-dev" target="_blank">http://disis.music.vt.edu/listinfo/l2ork-dev</a></div><br><br></div> </div> </div>  </div></div></body></html>