cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Barvaz
Level 6

break while loop

Hi,

How can i break while loop function

Thanks
Labels (1)
0 Kudos
(3) Replies
Cygnusx1
Level 8

In what? vbscript?
Do While
'do something
Loop

Do
'Do something
Loop Until

Please look over the help for vbscript
http://www.microsoft.com/download/en/details.aspx?id=2764
0 Kudos
Barvaz
Level 6

in the while command I'm checking conditions - i'm going over the list and if some element is 9999 (f.e) then i want to break the while
0 Kudos
skolte
Level 7

In InstallScript it would be:

x = 1;
while (x != 9999)
//do whatever
x++;
endwhile;
0 Kudos