Hello, thank you for the answer, I've just tried the first method but:
#shunt ... couldn't create on gridflow 9.8 win32 I'm trying the other one... tervitused* -- Patrice Colet *estonian ----- "Patrick Boivin" <pboi...@gmail.com> a écrit : > Hi Patrice, > > Here's something that you could use as a [#spigot] for blocking a > grid > with items that don't match a certain condition > > > [inlet] [inlet] > | | > | [#to_list] > | [#fold *] > | [# == 0] > | [#to_float] > | | > [#shunt ] > | > [outlet] > > > But for what you're trying to do, if you're not really dealing with > more than one dimension: > > > [5 1 # 99 100 101 103 104( > | > [#to_list] > | > [list-filter]X[> 100] > | > [#import] > | > [print] > > > will give you Dim[3]: 101 103 104 > > > however, I don't really know how this could work for more than one > dim > :) (the logic of resizing, I mean) > > > Patrick > > On Sat, Jun 26, 2010 at 6:16 AM, patko <colet.patr...@free.fr> wrote: > > hello, is there a way to redim a grid following a map of zeroes and > ones? > > > > > > example > > > > [5 1 # 99 100 101 103 104( > > | > > [#t ] > > | \ > > | [# > 100] > > | \ > > [#spigot] > > | > > [#print] > > > > prints dim[3]: 101 103 104 > > > > something like that > > > > ++ > > -- > > Patrice Colet > > > > _______________________________________________ > > Pd-list@iem.at mailing list > > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list