<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Sounds like a good complication :).&nbsp; I think a general array toolkit
    would be very useful.&nbsp; I'm not a fan of expanding the use of Tcl
    syntax in Pd tho (i.e. commands with subcommands).<br>
    <br>
    Pd syntax is nice and simple with always the first word being the
    command and the rest being the args.&nbsp; [list ...] is the only except
    to this that I can think of, and certainly the only exception
    included in pd-vanilla.<br>
    <br>
    How about just naming them like [tabsize], [tabfoo], etc since there
    already are lots of [tab...] objects.&nbsp; Or anything to minimize the
    confusion between the 'array', 'table', and 'tab*' objects.&nbsp; Since
    there is [table] and [tab*], the menu item Put -&gt; Array could be
    renamed to "Put visual table (array)" or something like that, then
    the word table/tab would be pretty consistent throughout Pd.<br>
    <br>
    It may seem trivial, but I've spent a lot of time explaining why the
    objects for reading arrays all start with 'tab'.<br>
    <br>
    .hc<br>
    <br>
    On 09/27/2012 03:59 PM, Miller Puckette wrote:<br>
    <span style="white-space: pre;">&gt; Sorry to further complicate
      this -<br>
      &gt;<br>
      &gt; I'm now trying to design a multipurpose object "array" for pd<br>
      &gt; vanilla that would allow one to say [array size] and use
      "table" or<br>
      &gt; "data structure" arrays intercahngeably.<br>
      &gt;<br>
      &gt; I think though, that rather than marking arraysize as
      "obsolete" one<br>
      &gt; could simply note that it has an equivalent available in Pd
      vanilla -<br>
      &gt; that need carry no value judgement as to whether people
      should be using<br>
      &gt; vanilla or extended.<br>
      &gt;<br>
      &gt; cheers<br>
      &gt; M<br>
      &gt;<br>
      &gt; On Thu, Sep 27, 2012 at 12:23:35PM -0700, Jonathan Wilkes
      wrote:<br>
      &gt;&gt;&gt; ________________________________<br>
      &gt;&gt;&gt; From: Hans-Christoph Steiner <a class="moz-txt-link-rfc2396E" href="mailto:hans@at.or.at">&lt;hans@at.or.at&gt;</a><br>
      &gt;&gt;&gt; To: Jonathan Wilkes <a class="moz-txt-link-rfc2396E" href="mailto:jancsika@yahoo.com">&lt;jancsika@yahoo.com&gt;</a> <br>
      &gt;&gt;&gt; Cc: <a class="moz-txt-link-rfc2396E" href="mailto:pd-list@iem.at">"pd-list@iem.at"</a> <a class="moz-txt-link-rfc2396E" href="mailto:pd-list@iem.at">&lt;pd-list@iem.at&gt;</a> <br>
      &gt;&gt;&gt; Sent: Thursday, September 27, 2012 3:03 PM<br>
      &gt;&gt;&gt; Subject: arraysize WAS apt.puredata.info is back!<br>
      &gt;&gt;&gt;<br>
      &gt;&gt;&gt;<br>
      &gt;&gt;&gt;<br>
      &gt; If someone wants to write patches that work on vanilla
      anywhere,<br>
      &gt; &gt;&gt; then there is a point.<br>
      &gt; &gt;&gt;<br>
      &gt; &gt;&gt; _Everybody_ wants to write patches that work on
      vanilla everywhere.<br>
      &gt; &gt;&gt;<br>
      &gt; &gt;&gt; When we can't we try to figure out a course of
      action, but when we<br>
      &gt; &gt;&gt; can (without employing wild hacks) we should.<br>
      &gt; &gt;&gt;<br>
      &gt; &gt;&gt;<br>
      &gt; If people are already using Pd-extended or<br>
      &gt; &gt;&gt; Debian then I honestly don't see the point,
      arraysize is already<br>
      &gt; &gt;&gt; there, like many other externals.<br>
      &gt; &gt;&gt;<br>
      &gt; &gt;&gt; It's like you wrote above. People _do_ want patches
      to be as cross-platform<br>
      &gt; &gt;&gt; as possible. (Not if.)<br>
      &gt; &gt;&gt;<br>
      &gt; &gt;&gt;<br>
      &gt;<br>
      &gt; For me, apt-get install pd-arraysize is far easier than
      trying to<br>
      &gt; &gt;&gt; remember that [expr] trick. And thankfully we can
      write externals,<br>
      &gt; &gt;&gt; so we can have choice. :-)<br>
      &gt; &gt;&gt;<br>
      &gt; &gt;&gt; If it were a wild hack I'd agree, but it's not. It
      is a standard operator for<br>
      &gt; &gt;&gt; [expr] that's been there for ages and is clearly
      documented.<br>
      &gt; &gt;&gt;<br>
      &gt; &gt;&gt; And who is this mythical user that looks to the
      Debian repositories<br>
      &gt; &gt;&gt; to figure out how to do something in a programming
      language?<br>
      &gt; &gt;&gt; (Hm, I'm not getting audio output, let's open up
      Synaptic and search<br>
      &gt; &gt;&gt; 20,000 mostly non-related packages for a
      solution...)<br>
      &gt; &gt;&gt;<br>
      &gt; &gt;&gt; -Jonathan<br>
      &gt; &gt;&gt;<br>
      &gt; &gt;&gt;<br>
      &gt;<br>
      &gt; .hc<br>
      &gt;<br>
      &gt; On 09/27/2012 03:00 PM, Jonathan Wilkes wrote:<br>
      &gt; &gt;&gt;&gt;&gt; That feature comes at the expense of
      compatibility, which<br>
      &gt; &gt;&gt;&gt;&gt; normally wouldn't be an issue _except_ that
      Pd<br>
      &gt; &gt;&gt;&gt;&gt; Vanilla already has the same functionality.
      So let's<br>
      &gt; &gt;&gt; encourage<br>
      &gt; &gt;&gt;&gt;&gt; use of the more compatible way using [expr],
      which is<br>
      &gt; &gt;&gt;&gt;&gt; clearly documented and supports the _exact_
      same features<br>
      &gt; &gt;&gt;&gt;&gt; as arraysize.<br>
      &gt; &gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt; -Jonathan<br>
      &gt; &gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt; ________________________________<br>
      &gt; &gt;&gt;&gt;&gt;&gt; From: Hans-Christoph Steiner
      <a class="moz-txt-link-rfc2396E" href="mailto:hans@at.or.at">&lt;hans@at.or.at&gt;</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt; To: <a class="moz-txt-link-abbreviated" href="mailto:pd-list@iem.at">pd-list@iem.at</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt; Sent: Thursday, September 27, 2012 2:24
      PM<br>
      &gt; &gt;&gt;&gt;&gt;&gt; Subject: Re: [PD] [PD-announce]
      apt.puredata.info is<br>
      &gt; &gt;&gt; back!<br>
      &gt; &gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt; IMHO, arraysize is very useful because it
      has a memorable<br>
      &gt; &gt;&gt; name. "I<br>
      &gt; &gt;&gt;&gt;&gt;&gt; need to find the size of an array... oh,
      [arraysize]".<br>
      &gt; &gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt; .hc<br>
      &gt; &gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt; On 09/27/2012 02:13 PM, Jonathan Wilkes
      wrote:<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Please change the description
      for the package<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; "pd-arraysize"<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; "This object is deprecated. Use
      [expr<br>
      &gt; &gt;&gt; size("array-name")]<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; which works out of the box for
      Pd Extended, Pd<br>
      &gt; &gt;&gt; Vanilla,<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; and Pd-l2ork."<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; -Jonathan<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; ----- Original Message -----<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; From: IOhannes m zmoelnig
      <a class="moz-txt-link-rfc2396E" href="mailto:zmoelnig@iem.at">&lt;zmoelnig@iem.at&gt;</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To: <a class="moz-txt-link-abbreviated" href="mailto:pd-announce@iem.at">pd-announce@iem.at</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cc:<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent: Thursday, September
      27, 2012 9:13 AM<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Subject: [PD] [PD-announce]<br>
      &gt; &gt;&gt; apt.puredata.info is back!<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; last night hans and me finally
      setup a<br>
      &gt; &gt;&gt; replacement machine<br>
      &gt; &gt;&gt;&gt;&gt;&gt; for<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; apt.puredata.info[1], the
      ultimate source for<br>
      &gt; &gt;&gt; Pd-extended on<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Debian-based systems (Debian,
      Ubuntu, Li<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; fgmasdfnux/Mint,...)[2].<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; it is now hosted on the
      puredata.info<br>
      &gt; &gt;&gt; portal/mailinglist<br>
      &gt; &gt;&gt;&gt;&gt;&gt; server,<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; courtesy of iem.<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; fgmasdf<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; IOhannes<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; [1] <a class="moz-txt-link-freetext" href="http://apt.puredata.info/">http://apt.puredata.info/</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; [2]
      <a class="moz-txt-link-freetext" href="http://puredata.info/docs/faq/debian">http://puredata.info/docs/faq/debian</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt; _______________________________________________<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Pd-announce mailing list<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a class="moz-txt-link-abbreviated" href="mailto:Pd-announce@iem.at">Pd-announce@iem.at</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
      <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-announce">http://lists.puredata.info/listinfo/pd-announce</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt; _______________________________________________<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; UNSUBSCRIBE and
      account-management -&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
      <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;
      _______________________________________________<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
      &gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; UNSUBSCRIBE and
      account-management -&gt;
      <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>
      &gt; &gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;
      _______________________________________________<br>
      &gt; &gt;&gt;&gt;&gt;&gt; <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
      &gt; &gt;&gt;&gt;&gt;&gt; UNSUBSCRIBE and account-management -&gt;
      <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>
      &gt; &gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;<br>
      &gt; &gt;&gt;&gt;&gt;&gt;<br>
      &gt;<br>
      &gt;&gt;&gt;<br>
      &gt;&gt;&gt;<br>
      &gt;&gt;&gt;<br>
      &gt;&gt;&gt;<br>
      &gt;&gt;<br>
      &gt;&gt; _______________________________________________<br>
      &gt;&gt; <a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
      &gt;&gt; UNSUBSCRIBE and account-management -&gt;
      <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></span><br>
    <br>
    <br>
  </body>
</html>