Quantcast
Viewing all articles
Browse latest Browse all 794

Talking LiveCode • Re: Why me???

Hi Craig,

I never ever used "repeat until...", no idea why. Image may be NSFW.
Clik here to view.
:-D

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
Best

Klaus

Statistics: Posted by Klaus — Thu Aug 01, 2024 3:00 pm



Viewing all articles
Browse latest Browse all 794

Trending Articles