need help with list processing

Learn about building and using Max for Live devices.
Post Reply
lqud009
Posts: 95
Joined: Fri Nov 13, 2009 6:43 pm

need help with list processing

Post by lqud009 » Wed Aug 20, 2014 9:11 am

Hello,

I have the following Problem:

I want to generate this message: "script show a1"
- the number (in this case "1") should be a variable controlled by a number-object.

the problem is, if I use the prepend-object, like "prepend show a" and a number object, it makes a space between "a" and "1" (like: "script show a 1")

Hope somebody can help. Thanks!

chapelier fou
Posts: 6025
Joined: Mon May 15, 2006 12:15 pm

Re: need help with list processing

Post by chapelier fou » Wed Aug 20, 2014 9:50 am

look at sprintf
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

lqud009
Posts: 95
Joined: Fri Nov 13, 2009 6:43 pm

Re: need help with list processing

Post by lqud009 » Wed Aug 20, 2014 10:23 am

Thanks again! It works

chapelier fou
Posts: 6025
Joined: Mon May 15, 2006 12:15 pm

Re: need help with list processing

Post by chapelier fou » Wed Aug 20, 2014 11:03 am

Nice !
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

Post Reply