<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt">Thanks Ivica, I'm using vanilla but I'll look into cyclone's coll and see if it can help.<br><br>Cheers,<br>John.<br><div><span><br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Ivica Ico Bukvic &lt;ico@vt.edu&gt;<br> <b><span style="font-weight: bold;">To:</span></b> 'JF' &lt;saintidle@yahoo.com&gt;; 'Joe White' &lt;white.joe4@gmail.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> 'pd list' &lt;pd-list@iem.at&gt; <br> <b><span style="font-weight:
 bold;">Sent:</span></b> Wednesday, 22 May 2013, 13:56<br> <b><span style="font-weight: bold;">Subject:</span></b> RE: [PD] Store some lists with undo function?<br> </font> </div> <div class="y_msg_container"><br><div id="yiv9831638378"><style><!--
#yiv9831638378  
 _filtered #yiv9831638378 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv9831638378 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv9831638378 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
 _filtered #yiv9831638378 {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv9831638378  
#yiv9831638378 p.yiv9831638378MsoNormal, #yiv9831638378 li.yiv9831638378MsoNormal, #yiv9831638378 div.yiv9831638378MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv9831638378 a:link, #yiv9831638378 span.yiv9831638378MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv9831638378 a:visited, #yiv9831638378 span.yiv9831638378MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv9831638378 p.yiv9831638378MsoAcetate, #yiv9831638378 li.yiv9831638378MsoAcetate, #yiv9831638378 div.yiv9831638378MsoAcetate
        {margin:0in;margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma", "sans-serif";}
#yiv9831638378 span.yiv9831638378EmailStyle17
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
#yiv9831638378 span.yiv9831638378BalloonTextChar
        {font-family:"Tahoma", "sans-serif";}
#yiv9831638378 .yiv9831638378MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv9831638378 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv9831638378 div.yiv9831638378WordSection1
        {}
--></style><div><div class="yiv9831638378WordSection1"><div class="yiv9831638378MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;, &quot;sans-serif&quot;;color:#1F497D;">cyclone/coll also has a nice set of actions that allow easy sorting/inserting/deleting, etc. It’s based on Max’s coll.</span></div><div class="yiv9831638378MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;, &quot;sans-serif&quot;;color:#1F497D;"> &nbsp;</span></div><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;"><div class="yiv9831638378MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;, &quot;sans-serif&quot;;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;, &quot;sans-serif&quot;;"> pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] <b>On Behalf Of
 </b>JF<br><b>Sent:</b> Wednesday, May 22, 2013 8:08 AM<br><b>To:</b> Joe White<br><b>Cc:</b> pd list<br><b>Subject:</b> Re: [PD] Store some lists with undo function?</span></div></div></div><div class="yiv9831638378MsoNormal"> &nbsp;</div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;, &quot;sans-serif&quot;;color:black;">Hi Joe,<br><br>That's brilliant thanks for going to the trouble!<br><br>But not exactly what I'm after as it doesn't account for entries <br>with more than one atom. I'm looking to store something like...<br><br>Time/Note/Vel<br>103 c3 127,<br>267 d3 120,<br>300 c3 0,<br>503 d3 0,<br>...<br><br>I see that I could probably use your idea but chop off the last 3 entries rather <br>than the last 1 entry, but I was hoping to create a generic abstraction that <br>could understand the comma delimiter. Something that I could have mixed <br>length lists
 in.<br><br>Although it has given me ideas so thanks for that! </span></div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;, &quot;sans-serif&quot;;color:black;"> &nbsp;</span></div></div><div><div class="yiv9831638378MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;, &quot;sans-serif&quot;;color:black;">Cheers,</span></div></div><div><div class="yiv9831638378MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;, &quot;sans-serif&quot;;color:black;">John.</span></div></div><div><blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:3.75pt;margin-bottom:5.0pt;"><div class="yiv9831638378MsoNormal" style="background:white;"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;, &quot;sans-serif&quot;;color:black;"> &nbsp;</span></div><div><div><div><div
 class="yiv9831638378MsoNormal" style="text-align:center;background:white;" align="center"><span style="color:black;"><hr align="center" size="1" width="100%"></span></div><div class="yiv9831638378MsoNormal" style="background:white;"><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;, &quot;sans-serif&quot;;color:black;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;, &quot;sans-serif&quot;;color:black;"> Joe White &lt;<a rel="nofollow" ymailto="mailto:white.joe4@gmail.com" target="_blank" href="mailto:white.joe4@gmail.com">white.joe4@gmail.com</a>&gt;<br><b>To:</b> JF &lt;<a rel="nofollow" ymailto="mailto:saintidle@yahoo.com" target="_blank" href="mailto:saintidle@yahoo.com">saintidle@yahoo.com</a>&gt; <br><b>Cc:</b> pd list &lt;<a rel="nofollow" ymailto="mailto:pd-list@iem.at" target="_blank" href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt; <br><b>Sent:</b> Wednesday, 22 May 2013, 12:22<br><b>Subject:</b> Re:
 [PD] Store some lists with undo function?</span><span style="color:black;"></span></div></div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div><div id="yiv9831638378"><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;">Hi John,</span></div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div></div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;">If you don't need comma separated lists (although I have a feeling you might for time-stamped message) then you can do it this way with</span></div></div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;">[u_collect] instead.&nbsp;</span></div></div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;">
 &nbsp;</span></div></div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;">Cheers,</span></div></div><div><div class="yiv9831638378MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="color:black;">Joe</span></div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;">On 21 May 2013 20:38, JF &lt;<a rel="nofollow" ymailto="mailto:saintidle@yahoo.com" target="_blank" href="mailto:saintidle@yahoo.com">saintidle@yahoo.com</a>&gt; wrote:</span></div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;">I'm experimenting with a message sequencer that will play back time tagged lists.<br><br>So far I've looked at [qlist] [textfile] and rjlib's [u_cocollect].<br><br>Are there any relatively simple approaches to 'undo'-ing the last list written to any of these<br><br>objects?<br><br>I'm a little stumped on it to be honest other
 than complicated writing to buffers and<br><br>attempting to prune the last list somehow.<br><br><br>Thanks,<br>John.<br><br><br>_______________________________________________<br><a rel="nofollow" ymailto="mailto:Pd-list@iem.at" target="_blank" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a rel="nofollow" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></span></div></div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;"><br><br clear="all"></span></div><div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;"> &nbsp;</span></div></div><div class="yiv9831638378MsoNormal" style="background:white;"><span style="color:black;">-- <br>Follow me on Twitter @diplojocus </span></div></div></div><div class="yiv9831638378MsoNormal"
 style="margin-bottom:12.0pt;background:white;"><span style="color:black;"> &nbsp;</span></div></div></div></div></blockquote></div></div></div></div></div></div><br><br></div> </div> </div> </blockquote></div>   </div></body></html>