hi all,
i've got a problem with message based patch generation ...
i'm using an abstraction with a subpatch, i want to create objects inside this subpatch. therefor i named the subpatch $0-something ... but when i do something like:
|ii $0| | |sprintf pd-%d-something| | |; $1 obj 100 100 catch~ test(
it returns:
"error: $1: not enough arguments supplied"
... i _can_ create the object when putting a namecanvas $0-something into the subpatch, but since it's declared obsolete, i suppose, there is another way ...
cheers ... tim
Hello there, is there a quick way of clearing out a large array without tabread/write? I just want it to be reset.
----- Original Message ----- From: "MvH" cola@looze.net
Hello there, is there a quick way of clearing out a large array without tabread/write? I just want it to be reset.
send a message to the array to reset:
[; yourarray const 0(
see the file in doc/2.control.examples:
15.array.pd
roman
Hallo, Krzysztof Czaja hat gesagt: // Krzysztof Czaja wrote:
Tim Blechmann wrote: ...
|sprintf pd-%d-something| | |; $1 obj 100 100 catch~ test(
try [sprintf symbol pd-%d-something] (or any other way of converting sprintf's output message to a symbol)
Or use [makefilename pd-%d-something], which has the advantage of not even requiring any externals.
Frank Barknecht _ ______footils.org__