Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

continue

Former Member
0 Kudos

if i declare continue statement in events what will happen?

if i declare continue statement before events what will happen?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

"continue" statement we will use inside the loop only.if we use continue in aloop it will terminate the current iteration.

rgds,

bharat.

Former Member
0 Kudos

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

Former Member
0 Kudos

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