<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>cyclone/coll also has a nice set of actions that allow easy sorting/inserting/deleting, etc. It&#8217;s based on Max&#8217;s coll.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><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'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> 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?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";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! <o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Cheers,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>John.<o:p></o:p></span></p></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'><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p><div><div><div><div class=MsoNormal align=center style='text-align:center;background:white'><span style='color:black'><hr size=1 width="100%" align=center></span></div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> Joe White &lt;<a href="mailto:white.joe4@gmail.com">white.joe4@gmail.com</a>&gt;<br><b>To:</b> JF &lt;<a href="mailto:saintidle@yahoo.com">saintidle@yahoo.com</a>&gt; <br><b>Cc:</b> pd list &lt;<a 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'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p><div id=yiv4689350961><p class=MsoNormal style='background:white'><span style='color:black'>Hi John,<o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal 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<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>[u_collect] instead.&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>Cheers,<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='color:black'>Joe<o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='color:black'>On 21 May 2013 20:38, JF &lt;<a href="mailto:saintidle@yahoo.com" target="_blank">saintidle@yahoo.com</a>&gt; wrote:<o:p></o:p></span></p><p class=MsoNormal 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 href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><o:p></o:p></span></p></div><p class=MsoNormal style='background:white'><span style='color:black'><br><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal style='background:white'><span style='color:black'>-- <br>Follow me on Twitter @diplojocus <o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p></div></div></div></blockquote></div></div></div></div></body></html>