Oh :$:$:$:$:$:$:$ (shame smiley)
It was THAT simple...
Indeed I had been looking at the reference folder and opening all the help-anything.pd files that I didn't know, but for some reason I missed the "list" one (maybe I thought I knew it, or I thought lists wouldn't do).
Thanks a lot guys, and sorry for bothering.
Bye M.
--------- Original Message -------- Da: "Chris McCormick" chris@mccormick.cx To: Cc: PD-list@iem.at Oggetto: Re: [PD] "popping" from - and prepending to - a generic message Data: 08/02/07 06:35
On Thu, Feb 08, 2007 at 02:25:56AM +0100, Matteo Sisti Sette wrote:
Is there a reasonably stright-forward way in pd-proper (I mean, without externals) to do either of the following two things?
- Removing the first element of a message (NOT necessarily a list) and
returning the rest of the message 2) Prepending a symbol or number to a message
It doesn't matter if it's a list or not, you can still use [list] to turn it into a list, do a pre-pending or pre-unpending and then use [list trim] to turn it back into a message.
Best,
Chris.
chris@mccormick.cx http://mccormick.cx -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor: Finalmente il design veste il riscaldamento: con Tubor dai colore e forma alla tua casa, scopri i prodotti Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6169&d=20070208