S while (!B): T; #### loop (; S while (!B): T ; repeat) { } #### while (1) { S; # make a calculation last if (B); # drop out when the result is right T; # adjust the parameters for another try }