[PD] feature request for [list]

Frank Barknecht fbar at footils.org
Tue Apr 11 17:21:50 CEST 2006


Hallo,
Roman Haefeli hat gesagt: // Roman Haefeli wrote:

> "Frank Barknecht" <fbar at footils.org> wrote:
> 
> >1) negative indices to [list split] (patch available @sourceforge)
> 
> negative index would count items from the end of the list?

Yes. The [list-splat] abstraction of [list]-abs implements this. 
It is immensely useful to get the last element of a list with
[list-splat -1]

Oh, and while we're at it: [list length] would also be useful. ;)

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__




More information about the Pd-list mailing list