2007 Apr 17 6:39 AM
if i declare continue statement in events what will happen?
if i declare continue statement before events what will happen?
2007 Apr 17 6:40 AM
Hi Balu,
The continue statement is coded within a loop. It acts like a goto, passing control immediately to the terminating statement of the loop and beginning a new loop pass. In effect, it causes the statements below it within the loop to be ignored and a new loop pass to begin.
The following points apply:
continue can only be coded within a loop.
continue has no additions.
Hope this resolves your query.
Reward all the helpful answers.
Regards
2007 Apr 17 6:40 AM
Hi Balu,
The continue statement is coded within a loop. It acts like a goto, passing control immediately to the terminating statement of the loop and beginning a new loop pass. In effect, it causes the statements below it within the loop to be ignored and a new loop pass to begin.
The following points apply:
continue can only be coded within a loop.
continue has no additions.
Hope this resolves your query.
Reward all the helpful answers.
Regards
2007 Apr 17 6:43 AM
Hi,
"continue" statement we will use inside the loop only.if we use continue in aloop it will terminate the current iteration.
rgds,
bharat.
2007 Apr 17 6:53 AM
Hhi,
To terminate a single loop pass immediately and unconditionally, use the CONTINUE statement in the statement block of the loop.
After the statement, the system ignores any remaining statements in the current statement block, and starts the next loop pass.
Regards
Sudheer
2007 Apr 17 6:55 AM
Hi,
Continue statement at any given point directs the thread to escape the remaining segments of that loop and brings it back to the starting point of the next iteration for the concerned loop.
REgards,
reward with points