Another problem occured: -I can construct a filename an increment it always by 1 to get with [makefilename]. - But I want to make snapshots from a webcam by using [pix_write] and this object does already do an increment of the <basefilename>, which means adding <current#>. - Is there a possibility to switch this <current#> off. Or controlling it, which means just taking numbers from 0-100?
thanks

fraenk



Matteo Sisti Sette schrieb:
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 :)



--

Fränk Zimmer

visit: http://fz.mur.at


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to