[PD] deleting file from a Pd patch
Matteo Sisti Sette
matteosistisette at gmail.com
Wed Feb 24 10:02:50 CET 2010
IOhannes wrote:
> On 2010-02-23 13:16, Derek Holzer wrote:
> > |
> > [prepend rm]
>
> what is the purpose of [prepend] here?
> couldn't you do that with [prepend $1( for exactly the same effect?
Guessing you mean [rm $1(
I also often use [list prepend foo]-[list trim] (which is the vanilla
equivalent of [prepend foo]) instead of [foo $1(, because, though for
one single "$1" value it is exactly the same, I consider it (rather
questionably) to be more elegant in that it works for messages of any
length.
Consider:
(some number)
|
[list prepend set]
|
[list trim]
|
(some numberbox)
and:
(almost any message)
|
[list prepend set]
|
[list trim]
|
[my message box(
I just like the fact they look the same.
Note however that the letter is not 100% general: "foo bar" and "list
foo bar" will both put "foo bar" into the message box.
Of course I don't know if Derek uses that for the same reason as I do :)
--
Matteo Sisti Sette
matteosistisette at gmail.com
http://www.matteosistisette.com
More information about the Pd-list
mailing list