Mathieu Bouchard wrote:
On Fri, 13 Nov 2009, Frank Barknecht wrote:
Alexandre Porres hat gesagt: // Alexandre Porres wrote:
But I totally disagree, I have been teaching a lot basic Pd around, and people always get confused and think they can just throw "$0" in messages.
That may be because your students assume, that $1 in a message box is the same as $1 in an object box when in fact it's something different.
That may be because you assume that objectboxes' $0 must have something to do with $1,$2,$3,... when in fact it's something different.
$3 stands for ce_argv[2] $2 stands for ce_argv[1] $1 stands for ce_argv[0] $0 stands for ce_dollarzero
it's a special case no matter what.
Right. Which neatly brings the question back around to "why can't $0 be used in message boxes?" I've said this before (to no avail): it is well understood that $0 has no meaning in *messages* -- however, this is not a good reason why $0 can't be used in *message boxes.*
Since "1024-foo" (where "1024" represents the canvas-identifier), *does* have meaning in messages, why must we jump through (admittedly minor, but still quite annoying) hoops just to get that canvas-identifier into a message?
It probably belongs in the "some things will never change in Pd" category; therefore we must resign ourselves to this discussion re-appearing on a regular basis.
Phil Stone http://www.pkstonemusic.com/pubmusic.html