Hi Craig,
I never ever used "repeat until...", no idea why.![Very Happy :-D]()
I always use an IF THEN condition to exit the loop if neccessary, maybe this will work for you:Best
Klaus
I never ever used "repeat until...", no idea why.

I always use an IF THEN condition to exit the loop if neccessary, maybe this will work for you:
CODE:
on mouseup put 29.9 into endSpace repeat ## until endSpace / 6 = 5 if endspace/6 = 5 then exit repeat end if --repeat until endSpace mod 6 = 0 --repeat until endSpace / 6 is an integer add 0.1 to endSpace end repeat answer endSpaceend mouseup
Klaus
Statistics: Posted by Klaus — Thu Aug 01, 2024 3:00 pm