skip a loop skip a loop g2000 (Programmer) (OP) 13 Sep 05 15:02 How to skip any loop?For instance, ans = 0For i=Lbound(a) to UBound(a) if a(i) = "1" Then ??? else answer = answer + cint(a(i))NextOr simply speaking, what is the vbscript equivalent of java-continue? thanks RE: skip a loop tsdragon (Programmer) 13 Sep 05 16:03 You just did it. There isn't any equivalent, so you have to do it with conditionals, like you just showed. Instead of ??? you can use a comment, or you can invert the logic and leave off the else part. Tracy DrydenMeddle not in the affairs of dragons,For you are crunchy, and good with mustard. RE: skip a loop scorpio66 (Programmer) 14 Sep 05 06:10 Exit For RE: skip a loop tsdragon (Programmer) 14 Sep 05 08:29 Exit For won't continue the loop, it will end it. That's not what the OP is looking for. They want a command that will skip the rest of the stuff inside the for loop and go back to the top of the loop. There is no syntactical reason to have such a command, you can easily do without it just as the OP demonstrated above. It's just for convenience. I'm surprised Java even has such a command, since it is otherwise such a strict language, and that kind of command violates a major precept of structured programming - one entry, one exit. Tracy DrydenMeddle not in the affairs of dragons,For you are crunchy, and good with mustard.