What does the identifier "break" mean and how would it be used? Thanks.
notfornothing21
0
Newbie Poster
Recommended Answers
Jump to PostThe Break statement is used to change the flow of control. Is it use inside a while, for, do/while, or switch structure. And it causes the program to exit that structure immediatly, executing the first statement
after that structure.
You can use break statement to escape early from a loop …
All 7 Replies
John A
1,896
Vampirical Lurker
Team Colleague
Aia
1,977
Nearly a Posting Maven
notfornothing21
0
Newbie Poster
Aia
1,977
Nearly a Posting Maven
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Aia
1,977
Nearly a Posting Maven
John A
1,896
Vampirical Lurker
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.