[PD] reverse items in a list?

Alexandre Torres Porres porres at gmail.com
Tue Nov 17 22:08:51 CET 2020


#N canvas 209 430 463 443 12;
#X obj 180 158 until;
#X obj 193 241 list store;
#X obj 180 183 f;
#X obj 218 184 + 1;
#X msg 237 158 0, f 2;
#X msg 180 214 get \$1 1;
#X obj 193 326 list store;
#X msg 193 268 prepend \$1;
#X obj 143 283 t b b;
#X obj 160 127 t b b b l, f 17;
#X obj 159 100 inlet;
#X obj 191 361 outlet;
#X connect 0 0 2 0;
#X connect 1 0 7 0;
#X connect 1 1 0 1;
#X connect 2 0 3 0;
#X connect 2 0 5 0;
#X connect 3 0 2 1;
#X connect 4 0 2 1;
#X connect 5 0 1 0;
#X connect 6 0 11 0;
#X connect 7 0 6 0;
#X connect 8 0 6 1;
#X connect 8 1 6 0;
#X connect 9 0 8 0;
#X connect 9 1 0 0;
#X connect 9 2 4 0;
#X connect 9 3 1 1;
#X connect 10 0 9 0;

Em ter., 17 de nov. de 2020 às 17:56, Ingo <ingo at miamiwave.com> escreveu:

> [$3 $2 $1(   ?
>
> Ingo
>
> > -----Original Message-----
> > From: Pd-list [mailto:pd-list-bounces at lists.iem.at] On Behalf Of Peter
> P.
> > Sent: Tuesday, November 17, 2020 9:20 PM
> > To: pd-list
> > Subject: [PD] reverse items in a list?
> >
> > Hi list,
> >
> > sorry if this has been discussed before, the list archive didn't give a
> good
> > search result, but how would I reverse items in a given list
> immediately, so
> > that
> > [1 2 3<
> > becomes
> > [3 2 1<
> > ?
> >
> > cheers, P
> >
> >
> >
> > _______________________________________________
> > Pd-list at lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > https://lists.puredata.info/listinfo/pd-list
>
>
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20201117/00274513/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: revers.pd
Type: application/octet-stream
Size: 662 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20201117/00274513/attachment.obj>


More information about the Pd-list mailing list