posted 23 years ago
Hi Payal,
{ break < label > } specifies that the loop marked with label has to be exited.If you want to go to the next iteration in the for loop, i.e., if you want to stay in the loop, you need to use, the keyword { continue }.
Also you may use the { break < label > } , if you have multiple for loops.In your case, just { break } keyword would have terminated the loop.
Hope this helps,
Sandeep
SCJP2, OCSD(Oracle JDeveloper), OCED(Oracle Internet Platform)
[This message has been edited by Desai Sandeep (edited July 28, 2001).]