Thanks for your immediate answer.
The problem which occurs with [select] is that, when a match value reaches [select's] inlet, [select] sends a [bang] to the corresponding outlet and not the value it received and triggered the [bang].

What I want to do is to route the messages.
If I send values in a specific range, I want them to go somewhere.
If I send values beyond tha range, I want them to go somewhere else.
In procedural programming languages it can be done with "if-then-else" and a variable.
In pd the variable is not passed by the [select] and istead a [bang] message is sent.
Is there a way to use [select] and have the value in a outlet or something?

Thank you, and forgive me if I am writing in a confusing way.

Regards,

Terumi

Kevin McCoy <km.takewithyou@gmail.com> Ýãñáøå:
There are several ways to do it, and it will be a little different
than the programming you might be used to.

First you can use the [select] object as a conditional - check the
help file that comes with pd on that.

Another more complicated way is to use [expr] and its related objects,
which I believe comes standard with Pd? I may be wrong on that
because I have it pre-bundled. Anyway, probably better to use
[select] first.

The control examples, if you go through them and work with each, will
help you understand how to do that and a lot more - they helped me a
lot (I just started Pd a couple months ago).

Kevin



×ñçóéìïðïéåßôå Yahoo!
ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíý ìáôá (spam); Ôï Yahoo! Mail äéáèÝôåé ôçí êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí åíï÷ëçôéêþí ìçíõìÜôùí
http://login.yahoo.com/config/mail?.intl=gr