ivo
Newish
Posts: 2
|
Post by ivo on May 7, 2013 13:24:01 GMT -5
Subject says it all
had a look around and could find none, but just thought I would ask in case I missed it.
looking to break out of a while wend loop
tia
|
|
|
Post by matthew on May 7, 2013 15:24:53 GMT -5
Hi Ivovis, I answered your question on the Wiki here. (I automatically receive an email whenever anyone posts on the Wiki forum ;-) )
|
|
ivo
Newish
Posts: 2
|
Post by ivo on May 7, 2013 17:43:14 GMT -5
many thanks - I just caught it
|
|
|
Post by DJLinux on May 30, 2013 9:44:56 GMT -5
if any condition mets your needs you can leave loops like this. DJ dim i%,break%=5 for i% = 1 to 10 print i% if i%=break% then i%=10 end if next printr
i%=0 do i%=i%+1 print i% if i%=break% then i%=10 end if loop while i%<10 printr
|
|