the break statement doesn't break out of ifs, only loops and switches, so this breaks out of the do..while loop. -Kevin > >> break; > >Are there more lines inside the do...while loop? Won't this just break out of >the if() ? >