#N canvas 257 57 1095 443 12;
#X obj 388 69 savestate;
#X text 636 82 This is an abstraction used by the [savestate] help file.;
#X listbox 129 100 12 0 0 0 - - - 0;
#X listbox 129 124 12 0 0 0 - - - 0;
#X text 216 100 freq list;
#X text 218 123 amp list;
#X obj 136 290 list;
#X obj 195 171 loadbang;
#X obj 195 195 t b b;
#X obj 129 179 t b l;
#X obj 136 384 outlet;
#X obj 68 292 list;
#X obj 61 179 t b l;
#X obj 68 386 outlet;
#X obj 401 325 text define \$0-data;
#X obj 213 277 text set \$0-data 0;
#X obj 213 250 list prepend amp;
#X obj 213 337 text set \$0-data 1;
#X obj 213 309 list prepend freq;
#X obj 388 174 list trim;
#X obj 388 209 route amp freq;
#X obj 435 244 s \$0-set-freq;
#X obj 388 273 s \$0-set-amp;
#X obj 32 45 r \$0-set-amp;
#X obj 129 45 r \$0-set-freq;
#X text 636 116 This abstraction is merely for didactical purposes and doesn't do anything. This example shows how you can store multiple lists in a [savestate] object. A good practice is to differentiate the lists and use [route] to send them to the righr place., f 60;
#X text 636 201 Another thing we have in this example is that this abstraction communicates with the parent patch by sending values to it. But since [savestate] outputs saved data before any outside connections are made we use [loadbang] objects to send the loaded messages to the owning patch., f 60;
#X text 636 286 We're using [text] as a hint to store multiple lists.;
#X obj 448 124 text sequence \$0-data;
#X msg 448 97 line 0 \, bang;
#X text 634 323 Another hint is that you can saved/restore one or more [text] objects by using [text tolist] and [text fromlist].;
#X connect 0 0 19 0;
#X connect 0 1 29 0;
#X connect 2 0 12 0;
#X connect 3 0 9 0;
#X connect 6 0 10 0;
#X connect 7 0 8 0;
#X connect 8 0 11 0;
#X connect 8 1 6 0;
#X connect 9 0 6 0;
#X connect 9 1 6 1;
#X connect 9 1 16 0;
#X connect 11 0 13 0;
#X connect 12 0 11 0;
#X connect 12 1 11 1;
#X connect 12 1 18 0;
#X connect 16 0 15 0;
#X connect 18 0 17 0;
#X connect 19 0 20 0;
#X connect 20 0 22 0;
#X connect 20 1 21 0;
#X connect 23 0 3 0;
#X connect 24 0 2 0;
#X connect 28 0 0 0;
#X connect 29 0 28 0;
#X coords 0 -1 1 1 166 75 1 125 75;
