# Hi all, # I want to distinguish different numbers. But these number are coming in symbol format. (I press numbers on my keyboard and get their symbol with [keyname], keyname outputs symbols out of its second outlet.) # The help patch of [select] says that it compares the incoming signal with its creation arguments according to its first arguments type. If the first argument is a symbol, it expects symbols etc. # But select can distinguish only symbols which are not symbols. (foo, dog, cat etc. :-) ) I sent these messages to [select] and only the second outlet (which is associated with symbol 10) has triggered. For any kind of number symbols select bangs the first number symbol creation arguments output.
|symbol 10( | | |symbol 20( | / |/ [select foo 10 20] | | | | | | [o] [o] [o] bang! bang!..
# Is this a bug, or do I something wrong? # The help patch uses [sel dog cat foo 400] and the message |symbol 400( and that example hides this strangeness.
-ugur-
Hallo, sokratesla hat gesagt: // sokratesla wrote:
[select foo 10 20]
You cannot mix symbols and floats in [select]'s arguments (see help patch), so you need to do something like this:
[select foo] | [select 10 20]
instead.
Frank Barknecht _ ______footils.org_ __goto10.org__
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
sokratesla hat gesagt: // sokratesla wrote:
[select foo 10 20]
You cannot mix symbols and floats in [select]'s arguments (see help patch)
Ah, forget that: I was somehow thinking of [route]. Mixing in [select] is allowed of course.
Frank Barknecht _ ______footils.org_ __goto10.org__