To contents Next section

3.3.1 break

break exits a loop or switch statement immediately and continues executing after the loop. Break can not be used outside of a loop or switch. It is quite useful in conjunction with while(1) to construct command parsing loops for instance:
while(1)
{
    string command=Stdio.Readline()->read("> ");
    if(command=="quit") break;
    do_command(command);
}

To contents Next section