Basic "if" algoritms

Hi. I just need create 2 algoritms(modules).

  1. I whant change value, and when i start change it- loop=0, when i stop, loop=1. It’s must have milisecond delay, bcs i whant change values instantly- 1 then 5 then 2 (By buttons). Also, it’s can be cool if when i change value to next (1-3-6-9) loop=1 always. But if i change value to previous (9-4-1), it’s make loop=0 then loop=1.
    2)I dont know, how i can change value and after change it it’s go to node. It’s not must go to node when i changing it (by fader). But when fader stops value must go to stack.

Big sorry for bad eng.

Hi alg. I can make the english out but I don’t get what you want. You are explaining it in a very complicated way. I’m sure I speak for everyone else, please can you try and explain again and really think about the structure and order of the processes that you want and outputs for certain conditions. i.e.

if input=1,3,6 or 9 and loop=1 then output=1

or,

if input=1,5, or 2 and loop=0 then output=spread of 3 with values of 9,4 and 1

Your title of your post is ‘basic “if” algoritms’ have a look at this page this page, if you talking about if statements in vvvv we use the switch node.

Thanks

There is also this nice Automata node, where you can program more complex if/then loops. Check its help file for details how to program it (click onto node + F1)

Frank, thx, must see it.

xd_nitro- i just need switch+If to control videoplayback patch. It’s must change 2 not independent values. I wrote how.