[PD] expr possible bug

Jamie Bullock jamie at postlude.co.uk
Fri Mar 11 17:48:27 CET 2005


In fact this doesn't work either:

expr $f3 + ($1 * 10)

although this does:

expr $f3 + (10 * $1)

Jamie

On Fri, 2005-03-11 at 16:35 +0000, Jamie Bullock wrote:
> 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 
> 
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list





More information about the Pd-list mailing list