You could use [expr]

[expr $f1>=11 && $f1<=20]


Ingo


________________________________________
Von: [email protected] [mailto:[email protected]] Im Auftrag von
Ben Carney
Gesendet: Dienstag, 23. November 2010 02:37
An: [email protected]
Betreff: [PD] if within a range of numbers then true

Hello all,

 I have become rusty in pure data. It seems as if I used to know the answer
to this.

I would like to beable to output a "1" if a number is within a certain range

example:

[number box\
|
|
[If between 11 and 20]
|
|
|
[X]

I thought this would be easier to come up with a solution than it has been

thanks in advance.

-- 
benfcarney
www.benfcarney.com
Chicago, IL 



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to