Jonathan Wilkes wrote:
--- On Sun, 9/26/10, Kim Cascone kim@anechoicmedia.com wrote:
From: Kim Cascone kim@anechoicmedia.com Subject: Re: [PD] jMax Phoenix To: "pd-list" pd-list@iem.at Cc: zmoelnig@iem.at Date: Sunday, September 26, 2010, 2:52 PM
you can make _very_ elegant super-readable control
flow with the use of
[route] and friends.
IOhannes
I find this particular subject very interesting I was recently working on a patch using [expr] found the lack of being able to send the results of multiple 'if' statements to the same outlet frustrating - I am also used
The reason [expr] doesn't work well in that case is that you must nest multiple if statements, which quickly makes the args hard to decipher.
yes I found this out by trying if, then-if, else-if (it would be nice if the help patch would be updated/improved a little with more examples) but also found it hard to decipher when coming back to it later even with copious comments so I used multiple if statements and then tried to deal with the multiple outputs which I did but can't remember off hand how will post the patch at some point I'm on tour now so busy with other things :)
to using the Max/MSP [if] object for these sorts of tasks can point me to some examples of using [route] and friends as control statements to check out? thanks! KIM
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list