<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Save nested array.]]></title><description><![CDATA[<p>i hope the title and my jargon/nonclementure is correct/appropriate <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>i'm having trouble with saving GUI settings in a nested array.<br />
the array is in an object within the main patch.</p>
<p>basically the arrays are saving sequence data for recall. all works fine except saving.</p>
<p>when i open the nested patch containing the array and save it seperately, the new data is saved. if i only save the main patch, all updated array data is lost <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/frowning.png" title=":(" alt=":(" /></p>
<p>how do i go about getting the arrays to save themselves <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/question.png" title="???" alt="???" /><br />
preferably without any user interaction, just closing the main window..</p>
<p>thanks.</p>
<p>ps i'm new here from Max. so i have limited knowledge of pd, and if any answers involve some sort of save path could you explain it briefly as its been a while since i've even messed with Max <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7496/save-nested-array</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 01:37:46 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/7496.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Jun 2013 12:41:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Save nested array. on Sun, 16 Jun 2013 12:41:16 GMT]]></title><description><![CDATA[<p>i hope the title and my jargon/nonclementure is correct/appropriate <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>i'm having trouble with saving GUI settings in a nested array.<br />
the array is in an object within the main patch.</p>
<p>basically the arrays are saving sequence data for recall. all works fine except saving.</p>
<p>when i open the nested patch containing the array and save it seperately, the new data is saved. if i only save the main patch, all updated array data is lost <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/frowning.png" title=":(" alt=":(" /></p>
<p>how do i go about getting the arrays to save themselves <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/question.png" title="???" alt="???" /><br />
preferably without any user interaction, just closing the main window..</p>
<p>thanks.</p>
<p>ps i'm new here from Max. so i have limited knowledge of pd, and if any answers involve some sort of save path could you explain it briefly as its been a while since i've even messed with Max <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7496/save-nested-array</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7496/save-nested-array</guid><dc:creator><![CDATA[flappypineapple]]></dc:creator><pubDate>Sun, 16 Jun 2013 12:41:16 GMT</pubDate></item><item><title><![CDATA[Reply to Save nested array. on Sun, 16 Jun 2013 12:58:43 GMT]]></title><description><![CDATA[<p>lol it did just occur to me to put the arrays into a subpatch rather than than being nested .. then they save with the main patch...</p>
<p>but i still would like to know of a way to get a nested patch to save .</p>
<p>thanks.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7496/save-nested-array/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7496/save-nested-array/2</guid><dc:creator><![CDATA[flappypineapple]]></dc:creator><pubDate>Sun, 16 Jun 2013 12:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to Save nested array. on Tue, 18 Jun 2013 20:14:15 GMT]]></title><description><![CDATA[<p>By nested, do you mean abstraction? If so, it's not going to save in the abstraction, and that's not really behavior you'd want anyway. A better idea would be to put the array in the main patch and hand off the name of the array to the abstraction using an argument.</p>
<p>For example, say you have an array in the main patch called &quot;myArray&quot;. Your abstraction would look like this:</p>
<p>[myAbstraction myArray]</p>
<p>Inside the abstraction, you could access it with dollar variables. [tabread $1] would read from myArray ($1 gets replaced by the first argument of the abstraction).</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7496/save-nested-array/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7496/save-nested-array/3</guid><dc:creator><![CDATA[Maelstorm]]></dc:creator><pubDate>Tue, 18 Jun 2013 20:14:15 GMT</pubDate></item><item><title><![CDATA[Reply to Save nested array. on Wed, 26 Jun 2013 05:15:25 GMT]]></title><description><![CDATA[<p>yes, nested is abstraction.<br />
you're idea is exactly what i did <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>now i'm considering the final GUI and the best way to hide objects not utilised..</p>
<h2>i've come across the graph on parent idea, making the subpatch an empty canvas. is this the best way to hide objects not necessary for the final GUI ?</h2>
<p>i'll ask in another thread <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/stuck_out_tongue_winking_eye.png" title=":p" alt=":p" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7496/save-nested-array/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7496/save-nested-array/4</guid><dc:creator><![CDATA[flappypineapple]]></dc:creator><pubDate>Wed, 26 Jun 2013 05:15:25 GMT</pubDate></item></channel></rss>