Hallo, derek holzer hat gesagt: // derek holzer wrote:
Hi Alexandre,
alexandre matheson wrote:
I am using a subpatch with a $0-name that I want to open with ;pd-$0-name vis 1, but for some reason I get this error message:
error: pd-$0-name: no such object
$0 and $1 not work at the end or middle of a message. Thus $1-name works, but pd-$1-name or pd-name-$1 does not. The solution is either to use [makefilename] or [pp] to construct the string message you need:
guibang | [f $0] | [$1-name( | [pp pd-] | [;$1 vis 1(
Let me know if that works.
It doesn't: "pp" (or "prepend" or nowadays: "list prepend") creates a list. whose first element will be "pd-" in that case, so in the end you have [; pd- vis 1(, which is not, what you want.
You really need to use [makefilename] here, it even is a builtin Pd object.
Frank Barknecht _ ______footils.org_ __goto10.org__