[PD] list.element in mtl?
Frank Barknecht
fbar at footils.org
Sat May 26 14:00:34 CEST 2012
On Sat, May 26, 2012 at 09:45:38AM +0200, Frank Barknecht wrote:
> On Wed, May 23, 2012 at 02:34:13PM -0400, Dafydd Hughes wrote:
> > Hi folks
> >
> > I may be wrong here: is mtl meant to replace pdmtl?
> >
> > If that's the case, am I crazy or is list.element missing? Is there a good
> > replacement for it?
>
> The list.element.pd I have here is just an atom-thin wrapper around [packel
> $1], so you could use that instead. If you want to avoid externals, you could
> build something with two [list split] objects or message boxes with "set,
> adddollar". For negative indices, just substract the index from [list length]
Forgot to mention: [list-idx] from list-abs is similar. It has zero-based
indexing, so it's one off compared to list.element and doesn't spit out the
full list on n=0.
Ciao
--
Frank Barknecht Do You RjDj.me? _ ______footils.org__
More information about the Pd-list
mailing list