add and subtract 1 to current value ...

anamaria's icon

Hi forum,

I just wonder how I can do this in the most simple way:

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

How do I add or subtract 1 to current value without getting stack overflow?
Is there a simple way to do this in max?
Here's some code I started out with:

Thanks for your help!

ana

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

Try accum.

Christopher Dobrian's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Try the incdec object.

anamaria's icon

Great, thanks! I knew there was an easy way!

ana