Thomas Grill wrote: > > Am 26.11.2008 um 14:47 schrieb Martin Schied: > >> Hey all, >> >> I was trying to do this dynamically with the lowest possible amount >> of objects and I found a surprising behavior of [list split]: >> >> Connecting a patchcord back from the second outlet of [list split] to >> its first inlet puts out all elements of a list in reversed order of >> the first outlet. >> >> I know that's neither effective nor the right way to patch in Pd, but >> perhaps someone can explain that? > > it's surely a consequence of "depth first" (see pd help examples)... > the message output from the second outlet retriggers and alters the > state of the "list split" before the message is output from the first > outlet. I guess that quite a number of pd objects are not re-entrant > (including most of mine). > gr~~~ > Yeah, that's a real good example for depth first (and also for recursive functions on lists)! If you change the outlets oft the [t a a] also the order of the printed list switches from reversed to not reversed. Good to know!
cheers, Martin _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list