Answer to Question #50435 in Visual Basic for Bender

Question #50435
If you code an Exit statement in a loop, it will cause the application to a. jump to the beginning of the loop. b. jump to the end of the loop. c. enter break mode. d. jump out of the loop.
Expert's answer
d. jump out of the loop.
Exits a procedure or block andtransfers control immediately to the statement following the procedure call or
the block definition. Exit Do is often used after some condition is
evaluated, for example in an If...Then...Else structure. You might
want to exit a loop if you detect a condition that makes it unnecessary or
impossible to continue iterating, such as an erroneous value or a termination

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

New on Blog