<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title>Bing: While Loop</title><link>http://www.bing.com:80/search?q=While+Loop</link><description>Search results</description><image><url>http://www.bing.com:80/s/a/rsslogo.gif</url><title>While Loop</title><link>http://www.bing.com:80/search?q=While+Loop</link></image><copyright>Copyright © 2026 Microsoft. All rights reserved. These XML results may not be used, reproduced or transmitted in any manner or for any purpose other than rendering Bing results within an RSS aggregator for your personal, non-commercial use. Any other use of these results requires express written permission from Microsoft Corporation. By accessing this web page or using these results in any manner whatsoever, you agree to be bound by the foregoing restrictions.</copyright><item><title>python - How to emulate a do-while loop? - Stack Overflow</title><link>https://stackoverflow.com/questions/743164/how-to-emulate-a-do-while-loop</link><description>1128 I need to emulate a do-while loop in a Python program. Unfortunately, the following straightforward code does not work:</description><pubDate>Tue, 07 Apr 2026 05:18:00 GMT</pubDate></item><item><title>How do I plot in real-time in a while loop? - Stack Overflow</title><link>https://stackoverflow.com/questions/11874767/how-do-i-plot-in-real-time-in-a-while-loop</link><description>I am trying to plot some data from a camera in real time using OpenCV. However, the real-time plotting (using matplotlib) doesn't seem to be working. I've isolated the problem into this simple exa...</description><pubDate>Thu, 26 Mar 2026 06:23:00 GMT</pubDate></item><item><title>Why use a for loop instead of a while loop? - Stack Overflow</title><link>https://stackoverflow.com/questions/3875114/why-use-a-for-loop-instead-of-a-while-loop</link><description>Possible Duplicates: Iterate with for loop or while loop? Loops in C - for() or while() - which is BEST? When should one use a for loop instead of a while loop? I think the following loops ...</description><pubDate>Fri, 03 Apr 2026 17:19:00 GMT</pubDate></item><item><title>Syntax for a single-line while loop in Bash - Stack Overflow</title><link>https://stackoverflow.com/questions/1289026/syntax-for-a-single-line-while-loop-in-bash</link><description>1695 while true; do foo; sleep 2; done By the way, if you type it as a multiline (as you are showing) at the command prompt and then call the history with arrow up, you will get it on a single line, correctly punctuated.</description><pubDate>Sun, 05 Apr 2026 12:44:00 GMT</pubDate></item><item><title>How would I stop a while loop after n amount of time?</title><link>https://stackoverflow.com/questions/13293269/how-would-i-stop-a-while-loop-after-n-amount-of-time</link><description>115 how would I stop a while loop after 5 minutes if it does not achieve what I want it to achieve.</description><pubDate>Tue, 24 Mar 2026 08:12:00 GMT</pubDate></item><item><title>Why doesn't the while loop stop when the condition becomes False?</title><link>https://stackoverflow.com/questions/74802657/why-doesnt-the-while-loop-stop-when-the-condition-becomes-false</link><description>A while loop does not terminate when the condition becomes false. It terminates when it evaluates the condition and the condition is found to be false. That evaluation doesn't happen until the beginning of each loop iteration, not immediately after some event occurs that will allow the condition to become false.</description><pubDate>Sun, 05 Apr 2026 04:09:00 GMT</pubDate></item><item><title>Difference between "while" loop and "do while" loop</title><link>https://stackoverflow.com/questions/3625759/difference-between-while-loop-and-do-while-loop</link><description>The do while loop executes the content of the loop once before checking the condition of the while. Whereas a while loop will check the condition first before executing the content. In this case you are waiting for user input with scanf (), which will never execute in the while loop as wdlen is not initialized and may just contain a garbage value which may be greater than 2.</description><pubDate>Sun, 05 Apr 2026 04:09:00 GMT</pubDate></item><item><title>windows - While loop in batch - Stack Overflow</title><link>https://stackoverflow.com/questions/1788473/while-loop-in-batch</link><description>For this, I determined how to use a couple methods to break the FOR Loop prematurely effectively turning it into a " DO WHILE " or " DO UNTIL " Loop, which is otherwise sorely lacking in CMD. NOTE: Most of the time a loop will continue to iterate past the condition you checked for, often this is a wanted behavior, but not in our case.</description><pubDate>Wed, 25 Mar 2026 08:40:00 GMT</pubDate></item><item><title>.net - How to escape a while loop in C# - Stack Overflow</title><link>https://stackoverflow.com/questions/6719630/how-to-escape-a-while-loop-in-c-sharp</link><description>How to escape a while loop in C# Asked 14 years, 8 months ago Modified 9 years, 6 months ago Viewed 252k times</description><pubDate>Mon, 06 Apr 2026 03:03:00 GMT</pubDate></item><item><title>python - When Does a While Loop Break - Stack Overflow</title><link>https://stackoverflow.com/questions/14247066/when-does-a-while-loop-break</link><description>A while loop doesn't automatically exit in mid-loop as soon as its condition is no longer true; it just checks the condition at the start of each loop. If you want to get out early, you need to break explicitly (or do something else non-local, like return from the function or raise to an except handler outside the loop).</description><pubDate>Mon, 06 Apr 2026 17:15:00 GMT</pubDate></item></channel></rss>