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:
two new problems occured now:
- is there anything like a "if"-object in pd. i think that i used
such a object in pd, but when i try to create such a object pd tells me that there is no if object.
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.
- and i am looking for a way to empty a list.
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!
two new problems occured now:
- is there anything like a "if"-object in pd.
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:
hi
thanks for your hints - they have been very helpful
two new problems occured now:
- is there anything like a "if"-object in pd. i think that i used such
a object in pd, but when i try to create such a object pd tells me
that there is no if object.
- and i am looking for a way to empty a list.
any hints again?
yours
NEW! Lycos Dating Search. The only place to search multiple dating
sites at once. http://datingsearch.lycos.com
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
"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