Here is a little trick using sub-patches, not abstractions, to keep values in memory when you close your patch and open it again. Just save your patch and the values are saved with it. <br><br>Enjoy !<br clear="all"><br>-- 
<br>Alexandre Quessy<br><a href="http://alexandre.quessy.net">http://alexandre.quessy.net</a><br><br><br><br>#N canvas 0 0 626 522 10;<br>#N canvas 0 0 450 300 memory 0;<br>#X obj 136 94 inlet;<br>#X obj 264 103 loadbang;
<br>#X msg 136 153 set \$1;<br>#X msg 145 198 38;<br>#X obj 146 255 outlet;<br>#X connect 0 0 2 0;<br>#X connect 1 0 3 0;<br>#X connect 2 0 3 0;<br>#X connect 3 0 4 0;<br>#X restore 165 99 pd memory;<br>#X obj 85 29 vsl 15 128 0 127 0 0 empty empty empty 0 -8 0 8 -262144
<br>-1 -1 3800 1;<br>#X text 147 148 Change the value. Save the patch. Close it. Open it<br>again with pd.;<br>#X text 58 350 )c( Alexandre Quessy;<br>#X text 162 64 Simple memory;<br>#X text 144 268 The value will be saved and restored when you open
<br>your patch again. Is as to be in subpatches \, not abstractions. Otherwise<br>\, it would not be saved at all.;<br>#X text 56 375 2006-07-04;<br>#X connect 0 0 1 0;<br>#X connect 1 0 0 0;<br><br>