hi
thanks for your hints - they have been very helpful
two new problems occured now:
any hints again?
NEW! Lycos Dating Search. The only place to search multiple dating sites at once. http://datingsearch.lycos.com
Hallo, Dieter Untermieter hat gesagt: // Dieter Untermieter wrote:
There is no general "if" object, because the "what" in "if what" can be something very different depending on your use case. Some "if"-like objects could be [select] (bang, if selection matches), [==], send "1" if two numbers are equal or similar.
Maybe you want: [t b]? This will convert everything to a bang, which is an empty list, kind of.
Frank Barknecht _ ______footils.org__
_ __latest track: "scans" _ http://footils.org/cms/show/41
Hallo!
I use often [expr if...] (look at the help file of expr)
LG Georg
There are many ways to do "if" in Pd. It depends on what kind of data
you are handling. The key is to think in the Pd (Max, dataflow,
whatever) way rather than trying to cram procedural programming into a
Pd patch.
Floats:
[moses 5] = if ( x < 5) { outlet-1 } else { outlet-2 }
Symbols
[select foo] = if (x == "foo") { outlet-1 } else { outlet-2 }
There are other ways as well.
.hc
On Apr 19, 2005, at 6:10 AM, Dieter Untermieter wrote:
"Looking at things from a more basic level, you can come up with a more
direct solution... It may sound small in theory, but it in practice, it
can change entire economies."
- Amy Smith