Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Repeat Until Loop Glitch
- jfan-deanza
- Scratcher
100+ posts
Repeat Until Loop Glitch
My browser / operating system: MacOS Macintosh X 10.16.0, Chrome 81.0.4044.138, No Flash version detected
I have a code like this
Simple, but when I run this loop, var2 is set to zero, then I see var1 set to zero as well.
But the loop doesn't end.
I check it by clicking the boolean block to make sure it is correct.
Yes, var1 does equal 0.
What do I do?
I have a code like this
repeat until <(var1) = (0)>
...
if <(var2) = (0)> then
set [var1 v] to [0]
end
end
Simple, but when I run this loop, var2 is set to zero, then I see var1 set to zero as well.
But the loop doesn't end.
I check it by clicking the boolean block to make sure it is correct.
Yes, var1 does equal 0.
What do I do?
This is a cageThese are Bloks. Bloks are sad because they is trapped by Boolean The Evil in a cage. Help them!<~ v ~ ::#ff0000>
(T^T ::#f77e52) (-n- ::#e6ad10) (• - • ::#b5ff61) (; o ; ::#23cc9c) (OnO ::#7ad1ff) (• π • ::#07108f) (˚ ° ˚ ::#b669ff) (¡ n ¡ ::#ffb0fe) (0 - 0 ::#c7c7c7) (• = • ::#828282) ::#ffffff
- Discussion Forums
- » Bugs and Glitches
- » Repeat Until Loop Glitch