“Check” and “Continue”. What is the difference?

Showing Answers 1 - 7 of 7 Answers

VijayaBhaskar Thammineni

  • Mar 15th, 2005
 

CHECK evaluates the subsequent logical expression. If it is true, the processing continues with the next statement. CONTINUE terminates the current pass in the loop and moves to next passRegardsvijay

pratiksha pradhan

  • Sep 10th, 2005
 

to chek the current position

  Was this answer useful?  Yes

Vamsee Krishna

  • Sep 15th, 2005
 

Check statement, checks the condition with in a loop and if it satisfies the condition, the control moves to next statement in the loop. Otherwise, it terminates the loop.

Continue statement, acts like goto statement. If the condition is true, it processes the remaining statements and if the condition is false, then the control moves to the top of loop.

  Was this answer useful?  Yes

Vamsee Krishna

  • Sep 15th, 2005
 

Check statement, checks the condition with in a loop and if it satisfies the condition, the control moves to next statement in the loop. Otherwise, it terminates the loop.

Continue statement, acts like goto statement. If the condition is true, it processes the remaining statements and if the condition is false, then the control moves to the top of loop.

  Was this answer useful?  Yes

sriratna

  • Mar 29th, 2006
 

check gives the conditional jump .It the condition is satisified it goes into the loop else i goes to the next record in the loop.

continue is an unconditional jump. it acts like a goto satement

  Was this answer useful?  Yes

sudhar

  • May 1st, 2006
 

Check stmt first checks the condition. If its true it continues with the next statement in the loop. If its false then it skips the remaining statements if any in the loop and goes to the next iteration of the loop.Unlike check continue does not have any condition. When a continue stmt is encontered within a loop the remaining stmts if any in the loop are skipped and he process continues with the next iteration of the loop.

  Was this answer useful?  Yes

sonali

  • Sep 13th, 2006
 

Continue leaves the current loop if the condition does not satisfy and the loop starts again..whereas in a check first the condition is checked then the loop executes.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions