Hi,
I just started using pd again after a couple of years and keep coming across various strange happenings:
why do:
[hey there you[ <--- (messagebox) | [$1, $2,, $3[ | [print]
print: there print: you error: $3: argument number out of range print: 0
and..... [hey there you[ <--- (messagebox) | [$0, $1,, $2[ | [print]
print: 0 print: there print: you
...I don't get it. I am using pd (39.2) on windows
cheers Karl
Karl Nilsson wrote:
Hi,
...I don't get it. I am using pd (39.2) on windows
that is not strange at all. that is how pd $-expansion works.
[list hey you( will have a "selector" or "list-id" called "list" which you cannot expand using $args.the first item in the list is "hey" ($1) and the 2nd is "you" ($2). the same is true is you have a message [bi ba bo(, $1=="ba", $2=="bo" and "bi" is the message-selector which not $-expandable.
this has been discussed to death, so i propose to read the list-archives; additionally you might find some helpful hints in the pd-documentation and at http://puredata.info/dev/PdDefinitions
mfg.ad.r IOhannes
Hallo, IOhannes m zmölnig hat gesagt: // IOhannes m zmölnig wrote:
this has been discussed to death, so i propose to read the list-archives; additionally you might find some helpful hints in the pd-documentation and at http://puredata.info/dev/PdDefinitions
... and http://puredata.info/dev/PdMessages
And in the help patch for [list].
Frank Barknecht _ ______footils.org_ __goto10.org__