Does anybody have any idea why the generated logical test for the repeat until block contain a negation?
Simple example:
Repeat until 25 < 50
This loop should run forever as 25 is always less than 50
The python code generated is:
while not 25 < 50:
sprite.play(‘meow’)
Why is there a ‘not’ in the test?
Same for generating code for Arduino:
while(!(25 < 50))
{
_loop();
Serial.println(“hello”);
}
Any idea how to fix this? Is this a bug?
Tried it on both Windows/Mac/Web editor and the logical test always contains the negation.