hard off wrote:
anyway $0 won't work inside a message box.
while this is true in general it doesn't apply here, as tim's example uses [s pd-$0-subpatch] (no message-box involved in the problematic code)
tim: your problem is most likely related to an outdated version of Pd you are using. since Pd-0.40 you can use $args within symbols, so your example will perfectly work.
if, for some reason, you don't feel like upgrading Pd, use hard off's example.
btw, with Pd>=0.40, you can also change the sendlabel of [send], which i think is somewhat more elegant (and efficient) than sending via message-boxes.
fmgasd.r IOhannes
use this:
[f $0] | [makefilename pd-%d-subpatch] | | [$1] [$2] | | | [pack s f f] | [; $1 obj 120 $2 table $3(
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list