Is it possible to End a DO WHILE Loop with in if statment:

Like

DO WHILE ....

Code...

IF .... THen
 End the while loop
COde if

Code Else

Loop
Could this be done and how?

Br

Andy