Hi,
it seems, you need [list skidoo 23( --> [$2 until $1(
Now, wouldn't it make sense to interpret messages with text as symbols, and messages with spaces as lists? I'm sure there's a reason why not.. or is there?
J.
hi,
somehow related is this problem I stumbled over recently:
dollar signs in messages seem to react strange when they get a two-part message that starts with a symbol instead of a float. In the attached patch, I used the example from the html-docs: [23 skidoo( sent to [$2 until $1( which works fine this way, but not the other way around:
[skidoo 23( ---> [$2 until $1(
results in "error: $2: argument number out of range"
Is this the intended behaviour?
ciao,
hi,
scrolling the html manual just two sections back I find:
``Messages in Pd consist of a selector (a symbol) and zero or more arguments''
and further above:
``It is possible to type messages which start with a number, which cannot be used as a selector. A single number is always given the "float" selector automatically, and a message with a number followed by other arguments is given the selector "list".''
Krzysztof
Juha Vehvil?inen wrote: ...
Now, wouldn't it make sense to interpret messages with text as symbols, and messages with spaces as lists?
...
dollar signs in messages seem to react strange when they get a two-part message that starts with a symbol instead of a float. In the attached patch, I used the example from the html-docs: [23 skidoo( sent to [$2 until $1( which works fine this way, but not the other way around: