Hi,
what about storing this in a table. You create a index-table, where you store the slider names (assumed slidernames generated by slider%d...) and a second table where you store the values. Then you run through the table and send the value to the slider by the generated name. Tables are easy to run through, easy to resize and store.
If you need it more complex you can do it by combined naming: slider%d-%d,...
yours Michael Hackl plankton labs
Am Don, 2003-03-27 um 10.37 schrieb Chris McCormick:
Hi, I'd like your opinions on the best way to store a single value in a GOP patch. For example, I have a GOP patch which has a slider in it. I instansiate this patch in a higher level patch and whenever I load the patch the slider is reset. Let's say my slider has a name of (for example) $1-slider. So when i instantsiate it i do it like this [gop-patch myname] and then if i want to set the slider position i can do [s myname-slider]. What I am trying to figure out is how I can make a list of slider-names (such as "myname-slider") and have their values stored and recalled each time i load the patch up. It feels to me like this should be easy, but I can't think of the clean way to do it. Any ideas are appreciated. This is for a series of patches for stored-automation and sequencing I am building.
Kind Regards,
Chris. _________________________________ chris@mccormick.cx http://www.mccormick.cx http://www.sciencegirlrecords.com
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list