[PD] A dollarsign problem, please help!
Roman Haefeli
reduzierer at yahoo.de
Wed Jan 7 23:35:13 CET 2009
On Wed, 2009-01-07 at 22:52 +0100, David Schaffer wrote:
> Hi there,
>
> I'm having troubles using the $0- thing in a abstraction
> containing two tabread4~ objects that have to keep their identity when
> several instances of the abstraction are oppened (I mean, not clash
> identities with the other tabread4~ objects in the other abstractions
> in a patch).
> Here is the part of the patch that causes problems:
>
> Dolarsign problem...
>
> I get a error message saying: "error: 0-a: no such table", although I'
> ve created them. When I use the "find last error" function, it points
> to the soundfiler object.
>
> Does anyone have a clue to what's going on in this patch?
yup. you're using $0 inside a message box. $0 in a message box has no
special meaning, since dollar variables have a different meaning in
messageboxes: $n gets replaced by the nth element of the incoming
message. there is no use in using smaller n than 1.
you would need something like this in order to compose a message
containing the $0 value of the patch:
[bng]
|
[$0] <- not a messagebox !!!
|
[$1-bla( <- this is a messagebox
this would give you something like '1023-bla'
roman
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
More information about the Pd-list
mailing list