do..while

Post the actual code you are using, not some useless snippet.