Ok, I want ot change the text inside a message box by sending another piece of text to it. I can easily change the contents of a message box with 'set $1' for numbers but what do I have to do to change text? For instance with numbers
1234 | this goes to a message box with set $1 -------- in it | |
set $1 | this outputs whatever number comes into -------- in to it | |
but how do i do this with text? Cheers ROry!
Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd.
On Mon, 22 Oct 2001 13:04:38 +0100 (BST) Rory Walsh rorytheroar@yahoo.com wrote:
haha neat trick... for text you do this (only works for one word)
but how do i do this with text? Cheers
so the trick is that the "$1" needs list... a symbol is a single element list... if you send in "list foo bar" then $1 would be foo and $2 would be bar.
is there a trace function in pd - as in max? for instance: to get a step by step update of how my note numbers and velocities were being handled by a list object...
de|
"The smart way to keep people passive and obedient is to strictly limit the spectrum of acceptable opinion, but allow very lively debate within that spectrum." -- Noam Chomsky
hi,
there is no tracing option in Pd, and I cannot see how to emulate step-tracing, setting breakpoints etc. (not to mention blinking of patchcords). But simple tracing of messages passed around is possible, if you would torture Pd sources a little and recompile (make it a special debug-pd, do not replace the original executable of course). An example, which applies to anythings only, is in m_class.c.diff attachment. You can do similar things to pd_list() (et al.) in m_pd.c. You can filter out more classes or preserve printing of those I have filtered out.
Btw. am I right, that classmaker' was meant to be called
canvasmaker'?
Krzysztof
delire wrote:
...
--- m_class.c~ Mon Oct 22 17:09:09 2001 +++ m_class.c Mon Oct 22 17:08:41 2001 @@ -616,6 +616,17 @@ int narg = 0; t_pd *bonzo;