[PD] message-box bug ?

IOhannes m zmölnig zmoelnig at iem.at
Fri Jul 25 12:57:09 CEST 2014


On 07/25/2014 12:33 PM, Fero Kiraly wrote:
> in file attached is all the process.
> thank you iohannes,.
> 
your patch makes it quite obvious why it fails:

[zexy/list2symbol] builds a single symbol from a list.
e.g. when you send it a message [foo 1( (a symbol-selector "foo" and a
number '1') it will create a symbol "foo 1" (with spaces!; [symbol2list]
is one of the few ways to make symbols with spaces in Pd).

then you use this symbol to construct your full msgbox. of course it
will now contain a lot of weird symbols (with spaces), rather than
symbol/value pairs - this is what you told it to do.

attached is a fixed version of your patch.

gfmdar
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msg-box-solved.pd
Type: text/x-puredata
Size: 3426 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140725/36a3c734/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140725/36a3c734/attachment.sig>


More information about the Pd-list mailing list