[PD] how to get the last element of an unknown list?

padawan12 padawan12 at obiwannabe.co.uk
Sun Jan 7 09:34:59 CET 2007


I could never get that behaviour to work with [list split -1] Pat,

But you just made me realise, Karlheinz [last] is an abstraction... 


[inlet]
  |
[t  a   a]
|       |
|    [list-len]
|       |
|     [- 1]
|       |
[ list split]
.   |      .
  [outlet]


[list-len] is itself an abstraction  



On Sat, 06 Jan 2007 20:03:16 +0100
Patco <megalegoland at yahoo.fr> wrote:

> carlos katastrofsky a écrit :
> > dears,
> > i'm having a list with variable size and would like to read out the last
> > list-element. how could this be done? please help...
> > thanks
> > carlos
> >
> > _______________________________________________
> > PD-list at iem.at mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> >
> >   
> Hi you can do it with [list-splat -1] second outlet, this abstraction 
> comes from list-abs
> 
> http://footils.org/cms/show/46
> 
> 	
> 
> 	
> 		
> ___________________________________________________________________________ 
> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
> http://fr.mail.yahoo.com
> 
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list