[PD] expr possible bug

Jamie Bullock jamie at postlude.co.uk
Fri Mar 11 17:35:03 CET 2005


Hi,

I don't know if anyone can confirm this, but there seems to be a strange
behaviour with expr. I checked the archives and couldn't see anything
obvious, so apologies if this is a repeat.

If used in an abstraction and given a $x variable as a first argument
i.e.

	expr $1 * $f3 * 10

it works properly - substituting $1 from the abstraction's first
argument. However, if the first argument is delimited by parenthesis
i.e.

	expr ($1 * $f3 * 10)

the console reports a syntax error and an instance of the object is not
created.

This is no major problem, but I just thought it should be reported.

Jamie 





More information about the Pd-list mailing list