Hi all!
I m wondering if there would be a simple way of storing a list, just like [f ] stores a float. My list is the output of a rather long [pack] object. Can use a two-stage pack? Something like that :
[pack 0 0 0 0 0.... 0 0]
|
[pack 0 0]
The idea would be to control when to output the list (with a bang on the hot inlet of the second pack in this example). My life is not at stake, but a simple solution would make it a lot easier for me tomorrow...
Pierre
On 2010-06-30 13:40, Pierre Massat wrote:
Hi all!
I m wondering if there would be a simple way of storing a list, just like [f ] stores a float. My list is the output of a rather long [pack] object. Can use a two-stage pack? Something like that :
how about [list append]?
fgnasdr IOhannes
[list], [list prepend], [lister] from zexy. Or with the message [set(. ++
Jack
Le mercredi 30 juin 2010 à 13:43 +0200, IOhannes m zmoelnig a écrit :
On 2010-06-30 13:40, Pierre Massat wrote:
Hi all!
I m wondering if there would be a simple way of storing a list, just like [f ] stores a float. My list is the output of a rather long [pack] object. Can use a two-stage pack? Something like that :
how about [list append]?
fgnasdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Or, simpler... [l ]
01ivier
2010/6/30 IOhannes m zmoelnig zmoelnig@iem.at
On 2010-06-30 13:40, Pierre Massat wrote:
Hi all!
I m wondering if there would be a simple way of storing a list, just like
[f
] stores a float. My list is the output of a rather long [pack] object. Can use a two-stage pack? Something like that :
how about [list append]?
fgnasdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Wed, Jun 30, 2010 at 2:09 PM, Olivier Baudu lamouraupeuple@gmail.comwrote:
Or, simpler... [l ]
Or maybe list-fifo from list-abs
cheers luca/husk
On 2010-06-30 14:09, Olivier Baudu wrote:
Or, simpler... [l ]
being the upstream author of [lister] (and thus [l]), i would recommend to use [list append] whenever it's possible. it basically provides the same functionality as [l] and is built-in.
similar arguments go for the other objects mentioned here. if you want to add two numbers, you can use [plus] (from mathlib) or [expr ($f1 + $f2)]; you could also use [+]
fgmasdr IOhannes
Ok, thanks everybody! List append does the trick.
2010/6/30 IOhannes m zmoelnig zmoelnig@iem.at
On 2010-06-30 14:09, Olivier Baudu wrote:
Or, simpler... [l ]
being the upstream author of [lister] (and thus [l]), i would recommend to use [list append] whenever it's possible. it basically provides the same functionality as [l] and is built-in.
similar arguments go for the other objects mentioned here. if you want to add two numbers, you can use [plus] (from mathlib) or [expr ($f1 + $f2)]; you could also use [+]
fgmasdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list