On Mon, Feb 13, 2012 at 04:03:20PM +0100, Christoph Kuhr wrote:
Hi list,
i want to pass a second argument to the message: send /foo/bar $1 $2
but pd complains: error: $2: argument nuber out of range
how can i achieve this?
The error you got means that you passed a message that was to short to the message box - it only had one item. So to fix it send a list with two items. :)
Also make sure that you're sending a real "list"-message, see http://en.flossmanuals.net/pure-data/ch038_lists/
If in doubt, add a [list] object in front of your message box to convert to a list-message.
Frank Barknecht Do You RjDj.me? _ ______footils.org__