Re: Simple Arp
Posted: Mon May 24, 2021 12:01 pm
josevo wrote:I'm expecting that if the comparison regresses to step==8 while it is surpassed (when playing 16 steps), the counter doesn't reach the value and keeps growing forever.
Try this:Code: Select all
if (@step >= @a)
instead ofCode: Select all
if (@step == @a)
That's why I don't like using == for stopping or resetting counters; although it's good for explaining concepts.
Fantastic, Josevo. Thank you
Cheers!