I'm hacking away on the array panel and generalized the panel stuff in the pd-gui and I ran into the sharptodollar() and mofo stuff in pdtk_array. It seems there has got to be a better way to do this, like properly escaping the $ on the Tcl side so Pd handles it properly. Can anyone think of a reason not to try this?
.hc
----------------------------------------------------------------------------
I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." --Bjarne Stroustrup
On Mon, 17 Aug 2009, Hans-Christoph Steiner wrote:
I'm hacking away on the array panel and generalized the panel stuff in the pd-gui and I ran into the sharptodollar() and mofo stuff in pdtk_array. It seems there has got to be a better way to do this, like properly escaping the $ on the Tcl side so Pd handles it properly. Can anyone think of a reason not to try this?
Since I started talking about this ~5 years ago, two things changed:
1. in 2007.08.25, dd eliminated all of it and made it brace-proof, space-proof, backslash-proof, etc.
2. in 0.40, pd aggravated the situation by starting to support $1$2 as a dollsym everywhere except iemgui, where it blows up:
error: #1$2: argument number out of range
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
I started a wiki page to document this issue. I'm going to try to eliminate the need for this stuff in pd-devel/0.41.4
http://puredata.info/dev/DollarArgsInPanels
.hc
On Aug 17, 2009, at 7:48 PM, Hans-Christoph Steiner wrote:
I'm hacking away on the array panel and generalized the panel stuff in the pd-gui and I ran into the sharptodollar() and mofo stuff in pdtk_array. It seems there has got to be a better way to do this, like properly escaping the $ on the Tcl side so Pd handles it properly. Can anyone think of a reason not to try this?
.hc
I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." --Bjarne Stroustrup
----------------------------------------------------------------------------
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams