Bugs item #1776553, was opened at 2007-08-17 22:02 Message generated for change (Comment added) made by fbar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1776553...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: None
Status: Closed Resolution: Invalid
Priority: 5 Private: No Submitted By: r jacobs (rnjacobs) Assigned to: Nobody/Anonymous (nobody) Summary: Message boxes seem to behave inconsistently
Initial Comment: I don't know whether this is an actual bug, but it is a strange inconsistency. In using PD 0.40-2 in the Debian archive, the attached patch (three message boxes, containing a list "1 2 3", an anything "a b c", and "$1 $2") produces the output
r: 1 2 3 p: 1 2 r: a b c p: b c
I assume the reason the last line is "b c" instead of "a b" is because the message box sees that the input is an anything and interprets "a" as a type. But "a" isn't a type, so there is no way to get the first element of an anything using a message box (yes, i could use an unpack, so there's definitely workarounds).
Is this a bug?
Thank you!
----------------------------------------------------------------------
Comment By: Frank Barknecht (fbar)
Date: 2007-08-18 20:13
Message: Logged In: YES user_id=569446 Originator: NO
As m. sistisette perfectly explained, it's not a bug, but a feature. You may also want to read this page: http://puredata.info/dev/PdMessages which has an explanation of the "types" of messages, Pd can use.
Ciao