while do & end while

new topic     » topic index » view thread      » older message » newer message

>
><<snip>>
>
>while 1 do 
>if condition1 then exit end if 
>if conditionN then return end if 
>end while
>
><<snip>>
>
>This is EU power -- ALL you want just in two main forms.
>
>Regards,
>Igor Kachan

I think I understand that, too?   

while 1 do   
   --/ when condition1 is True, it will exit the loop   
   --/ and finish anything else in the procedure.
if condition1 then exit end if     
   --/ when conditionN is True, it will exit the procedure!
if conditionN then return end if  
end while

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu