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

Gerda Strobl gerda.strobl at student.tugraz.at
Sat Jan 6 20:02:33 CET 2007


carlos katastrofsky wrote:
> 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
>   
Dear Carlos,

try using [packel] (get the nth element of a list) and [length] (get 
length of a list) from zexy.

Best,
 Gerda




More information about the Pd-list mailing list