C++ Syntax: break
for (Int_t index=0; index<10; index++) {
if ( ! my_ints[i] ) break;
}
if ( index == 10 ) cout << "my_ints contains no zeros" << endl;
else cout << "the first zero in my_ints is at << index << endl;
Where switch and loop statements are nested, break exits the innermost one containing it.