We are about to switch to a new forum software. Until then we have removed the registration on this forum.
This blog post demonstrates a sketch with a logic error, explains its cause and looks at solutions.