<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Note that [append] will update its pointer to point to the new
      scalar. The new pointer is also output. So for consecutive appends
      you only need to send a pointer once in the beginning.</p>
    <p>Christof<br>
    </p>
    <div class="moz-cite-prefix">On 25.02.2020 21:44, Jean-Yves Gratius
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1ba5cf66-b5d1-0744-46b1-e4d751bd2cc9@gumo.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Oh, I didn't realize that I can go to the last position using
        [next( message sent to [pointer] and then append a scalar to the
        end of the scalar list..</p>
      <p>Everything is ok now for me. The last created scalar is the
        last one to be drawn, even when refreshing display of the patch.</p>
      <p>JYG<br>
      </p>
      <p><br>
      </p>
      <p><br>
      </p>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">On 25/02/2020 19:11, Jean-Yves
        Gratius wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:885dc3a7-9388-d54a-91fe-02230dc231f0@gumo.fr">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <p><font size="+2">Hi <br>
            From previous old discussion ( <a
              class="moz-txt-link-freetext"
              href="https://lists.puredata.info/pipermail/pd-list/2006-04/037622.html"
              moz-do-not-send="true">https://lists.puredata.info/pipermail/pd-list/2006-04/037622.html</a>
            )<br>
            I understood that datastructure z-order</font><font
            size="+2"><font size="+2"> drawing </font> depends of
            creation </font><font size="+2"><font size="+2">order</font>,
            but when you programmatically create a new scalar (with
            [traverse ... , bang(  -> [pointer] ->  [append
            struct_name]), it's placed on the top of the list of
            scalars, although it's drawn at last. A refreshing of the
            window restablishes the correct drawing order. <br>
            <br>
            Would it be possible to get a new pointer at the end of the
            list (and not at the top) ? <br>
            <br>
            Thanks <br>
          </font><br>
          <font size="+2">JYG <br>
          </font></p>
        <p><font size="+2"><br>
          </font></p>
        <p><font size="+2"> </font></p>
        <blockquote type="cite"><font size="+2">
            <pre>On Sat, 22 Apr 2006, Federico wrote:

><i> i'm seeing there is no z-order tracking in data-structures (i.e.: a repaint
</i>><i> event, or a mouse action, can bring an object to the top).
</i>><i> is this true?
</i>
DS scalars are stored as linked-lists in the same way as objectboxes, 
so you might reorder them the way objectboxes may be reordered 
(Cut and then Paste once will bring the selection to the top).

DS arrays are stored like float arrays, so I suppose you can reorder them
like you might reorder elements in a float array (that is, painfully...)
(maybe that there's a lib to help you do it with float arrays, but with DS
arrays, I doubt it)</pre>
          </font></blockquote>
        <font size="+2"> <br>
        </font> </blockquote>
      <p><br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></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>