Hello, My two cents. It's been a while since I posted on this list ;) ++
Jack Le mercredi 02 octobre 2024 à 14:30 +0200, Ingo Stock a écrit : > With symbol support. > > > Am 02.10.24 um 12:58 schrieb Ingo Stock: > > A simple approach. > > > > > > Am 29.09.24 um 21:08 schrieb Peter P.: > > > Hi list, > > > > > > I am having lists with a variable number of items and I want to > > > break > > > them > > > up two lists dependent on the presence of a specific item. I > > > can't > > > seem to > > > understand how to do it though. Here's a quick example of what I > > > mean: > > > > > > 1 2 3 4 5 6 > > > look for the number 4 and output two lists (at separate outlets) > > > which > > > are before and after that number 4, giving: > > > 1 2 3 > > > and > > > 5 6 > > > respectively > > > > > > I'd need the solution to work for lists of other lengths as well, > > > i.e. > > > 55 66 77 88 4 102 -33 > > > should be broken up into > > > 55 66 77 88 > > > and 102 -33 > > > alike. > > > > > > I tried [route] and [list] objects but can't get them to do what > > > I want. > > > > > > thanks! > > > P > > > > > > --- > > > pd-list@lists.iem.at - the Pure Data mailinglist > > > https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/7EF2SASANM67WTX766GIKCN5OIR64PXN/ > > > > > > > > > > > > To unsubscribe send an email to > > > pd-list-le...@lists.iem.at mailing list > > > UNSUBSCRIBE and account-management -> https://lists.iem.at/ > > > > > > > --- > > pd-list@lists.iem.at - the Pure Data mailinglist > > https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/F5B2E6Z5XJPVE3YSBI3ZTZITQRUSPYBX/ > > > > To unsubscribe send an email to pd-list-le...@lists.iem.at mailing > > list > > UNSUBSCRIBE and account-management -> https://lists.iem.at/ > --- > pd-list@lists.iem.at - the Pure Data mailinglist > https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/VABVF4X5ANT3EBHVRSBDQ52OTPGNMZMQ/ > > To unsubscribe send an email to pd-list-le...@lists.iem.at mailing > list > UNSUBSCRIBE and account-management -> https://lists.iem.at/
#N canvas 735 179 810 404 12; #X obj 85 73 list-drip; #X obj 244 275 list store; #X msg 244 245 append \$1; #X obj 124 199 spigot 1; #X obj 124 168 t a a; #X obj 124 275 list store; #X msg 124 245 append \$1; #X obj 244 199 spigot 0; #X msg 177 173 0; #X msg 297 174 1; #X msg 337 174 0; #X msg 217 173 1; #X obj 212 104 t b b b; #X text 187 73 <- from list-abs; #X obj 124 303 outlet; #X obj 244 303 outlet; #X obj 85 37 inlet; #X obj 185 37 inlet; #X text 347 326 Jack/RYBN 2024; #X obj 85 101 sel \$1; #X connect 0 0 19 0; #X connect 0 1 12 0; #X connect 1 0 15 0; #X connect 2 0 1 0; #X connect 3 0 6 0; #X connect 4 0 3 0; #X connect 4 1 7 0; #X connect 5 0 14 0; #X connect 6 0 5 0; #X connect 7 0 2 0; #X connect 8 0 3 1; #X connect 9 0 7 1; #X connect 10 0 7 1; #X connect 11 0 3 1; #X connect 12 0 1 1; #X connect 12 0 5 1; #X connect 12 1 1 0; #X connect 12 1 5 0; #X connect 12 2 10 0; #X connect 12 2 11 0; #X connect 16 0 0 0; #X connect 17 0 19 1; #X connect 19 0 8 0; #X connect 19 0 9 0; #X connect 19 1 4 0;
#N canvas 868 638 622 300 12; #X obj 275 87 list-split-at; #X msg 275 41 1 2 3 4 5 6; #X msg 375 41 4; #X obj 275 132 print A; #X obj 363 132 print B; #X msg 65 41 1 2 3 4 5 6; #X obj 65 132 print A; #X obj 167 132 print B; #X obj 65 87 list-split-at 4; #X connect 0 0 3 0; #X connect 0 1 4 0; #X connect 1 0 0 0; #X connect 2 0 0 1; #X connect 5 0 8 0; #X connect 8 0 6 0; #X connect 8 1 7 0;
signature.asc
Description: This is a digitally signed message part
--- pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/OWMOYDMJCB5IQSVAKD7FI3FASX5RQMWX/ To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/