There is already [route] to get the selectors bang, symbol, list,
float and only 'other'. But it would be nice to have something like
this :
[33 hello -4.5 world( | [$0( | [print]
and get print: list not 0 as now
or
[open mytext.txt 45( | [$0( | [print]
and get print: open not 0 as now (and nor 'other' as does [route])
So the first element is $0, the second is $1, etc.
I think it is not so difficult to understand for a beginner because
it's logical.
We must explain that [33 hello 4.5 world( is a list without the word
list in the message because the message begin by a number and has
several elements : it is the same [list 33 hello 4.5 world(. Idem for
float.
What do you think ?
++
Jack
Le 10 févr. 09 à 17:45, Mathieu Bouchard a écrit :
On Sat, 7 Feb 2009, Frank Barknecht wrote:
Messages don't have anything comparable to the canvas' $0. A possible alternative use for $0 in messages would be the selector ("list", "symbol", ...) as that is the thing before $1, but implementing that could be even more confusing to beginners.
Why would that be confusing to beginners?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal,
Québec_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list