Loop documentation contains inappropriate examples
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=7828
Reference: http://pike.lysator.liu.se/docs/tutorial/statements/loops.xml
Reported by Daniel Wressle wressle@roxen.com
At http://pike.lysator.liu.se/docs/tutorial/statements/loops.xml there is an example code snippet which reads as follows:
string answer;
write("Have you stopped beating your wife yet?\n");
do
{
write("Answer yes or no: ");
answer = Stdio.stdin->gets();
} while(answer != "yes" && answer != "no");
I don't think further comments are necessary. Alter or remove.