sprintf problem

Qualm's icon

i want to use sprintf but i have this problem.
Check my example:

Max Patch
Copy patch and select New From Clipboard in Max.

phiol's icon
Max Patch
Copy patch and select New From Clipboard in Max.
Qualm's icon

thanks, but this did not solve the problem.

the problem remains localy into the sprintf. ex: if you put 6 instead of 5 5 5,
you will end up with 655 after 1.

alersito's icon

Qualm, what message do you want after the sprintf? Only "1" or "001"?

Jeff Kaiser's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Hi Qualm, Phil's patch works fine for me. Here is another way to do it as well, and one that also works for "001"

Qualm's icon

the last one works great! thanks!!!