>How can we exit from a For loop in ASP? This assumes that instead of using a Do loop until a specific condition is reached that I am using a For loop instead with a high value so it'll loop until a specific condition is reached. Then, I would issue an Exit command to exit from the For loop. However, Exit does not work. What can I use to exit from a For loop or should I always use a Do loop instead when I have such a need? I did use the Do loop in my code however I am wondering if I ever use a For loop then I would need to know how to exit from it.>>>>>>>>>
For n = 1to 10
If MyCondition = TrueThenExitForEndifNext n
"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry