finding the incdec object not very useful

Oct 20, 2009 at 3:56pm

finding the incdec object not very useful

Hi,

I’m trying to use incdec for a simple function in which I want to cycle through numbers 1 through 8. I want to be able to climb up in such a fashion: …, 7, 8, 1, 2… and down: …, 2, 1, 8, 7… not at any regular interval but when I manually trigger it.

This seems like the kind of thing incdec was made for but I’m having an extremely hard time getting it to do just this (though come close using %). Am I trying to use incdec for something other than its intended purpose? Is there a better way to do what I want?

Help!

#45973
Oct 20, 2009 at 5:50pm

thanks for this thread, you inadvertently solved a problem i was having!

#165633
Oct 20, 2009 at 7:58pm

Thanks! Exactly what I needed.

#165634
Mar 3, 2014 at 7:03pm

just bumped at this same problem.

this is the workaround to get wrap mode working I came up with.

<code>

– Pasted Max Patch, click to expand. –

</code>

it’s an old thread, but, maybe its useful for someone still…

#282758

You must be logged in to reply to this topic.