finding the incdec object not very useful

Jay's icon

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!

Mike S's icon

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

Jay's icon

Thanks! Exactly what I needed.

yurki's icon

just bumped at this same problem.

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

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

it's an old thread, but, maybe its useful for someone still...