[PD] list of various length to any receiver

Enrique Erne pd at mild.ch
Sat May 13 10:15:02 CEST 2006


hi(2)

> how can i send a list of various length to a dynamically changeable 
> receiver? has anybody done that before?

if the list wouldn't have various length
a message like this would work:
[;
$1 $2 $3(

then i tried to dynamically create that msg with some
[0\
|
[makefilename %d]
|
[adddollsym $1(
|
[(

i could create the msg but it behaves slightly different.
when i send [;peter 1 2( there is a "1 2" coming out of [r peter]
but somehow any object i use complains.

some examples with [;peter 1 2(

[unpack f f]
error: unpack: type mismatch

[list split 1]
|
[f]
error: float: no method for 'symbol'

[$1(
gives the second instead of the first atom


is there an other way instead [; $1 $2 $3( ?

regards
eni


-------------- next part --------------
A non-text attachment was scrubbed...
Name: geissepeter.pd
Type: application/octet-stream
Size: 1188 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060513/9b931d4c/attachment.obj>
-------------- next part --------------




More information about the Pd-list mailing list