[PD] opening $0-subpatch bug?

alexandre matheson amatheso at alcor.concordia.ca
Mon Dec 5 15:48:39 CET 2005


This works, once again thanks a million

alex

On Lundi, décembre 5, 2005, at 04:39  am, Frank Barknecht wrote:

> Hallo,
> alexandre matheson hat gesagt: // 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
>
> Your first mistake here is to not remember the fact:
>
>  * There is *no* $0 variable in messages!
>
>> I tried different things like
>>
>> guibang
>> |
>> [f $0]
>> |
>> [;pd-$1-name vis 1(
>>
>> which did not work either, instead the error message was:
>> error: pd-$1-name: no such object
>
> And the second mistake is not forget about that fact:
>
>  * All $-variables have to be at the beginning of a word!
>
> The solution is, to create something like "pd-NUMBER-name" completely,
> which you can send into a message box where it is replacing a
> $-variable.
>
> Attached patch shows the solution, but maybe you want to try it
> yourself first? Hint: [makefilename] is used.
>
> Ciao
> -- 
>  Frank Barknecht                 _ ______footils.org_ __goto10.org__
> <test.pd>_______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list