Talk:Do while loop

message: Note that the FORTRAN 77 factoids are inaccurate.  The example is a non-standard mixture of FORTRAN 77 plus extensions.  Recommend revising and updating to Fortran 95 example.  Also recommend lower case for style purposes.
— Preceding unsigned comment added by 192.91.173.36 (talk • contribs) 15:44, 9 April 2007 (UTC)
thread_title: Fortran

message: Section 2 says the code listings are demonstrating factorial calculations, but D does not. 62.25.109.195 (talk) 14:46, 29 October 2008 (UTC)
thread_title:  Inconsistent example 

message: Hello
F77 doesnot have a do while loop. it is a common extension to fortran 77. `a5b (talk) 16:28, 5 May 2010 (UTC)
thread_title:  FORTRAN 77 hav no do while 

message: The repeat until of Pascal cannot be considered a Do While loop. It is a do until loop. Therefore, for Pascals repeat until structure to be functionally similar to a do while, its argument needs negating. This is not mentioned clearly enough, but is burred in a sentence about naming conventions. Commonly, viewers of this page will be new to programming and may not fully realise this difference from reading the text as it stands.  Should the differences not be be stated more clearly?  
One possible solution to unify the Do While and Do Until is to use the NOT operator, as in Until Not ( x > 10).
—Preceding unsigned comment added by Scottie UK (talk • contribs) 16:00, 15 June 2010 (UTC)
thread_title:  Repeat Until in Pascal. 

message: This examples show in different languages are ridiculous. What is that "factorial"? why not make those examples simpler and easier to understand? any person coming to this article is usually because they are not experts in the subject and the examples should be more tailored to their understanding. I would like the editors involved to change the statements inside the Do clause into easier and more understandable statements. Thanks --Camilo Sanchez (talk) 14:41, 24 May 2011 (UTC)
thread_title:  Examples 

message: Partly fixed the BASIC section (strange initialisation).  I note from the history that this article used to have QBASIC, REAL BASIC, and Visual Basic information, and the existing BASIC section is not BASIC: it includes the word "msgbox".  — Preceding unsigned comment added by 203.206.162.148 (talk) 09:43, 10 January 2013 (UTC)
thread_title:  BASIC 

message: Seriously? 19 examples? One example, written in the same syntax as the "Equivalent constructs" section is more than sufficient. If I didn't suspect it would be immediately reverted, I'd remove the whole section myself.  — Preceding unsigned comment added by 86.184.38.70 (talk) 15:34, 5 July 2016 (UTC)
thread_title:  We don't need an example for each language 

message: While a do-while loop is one of many somewhat cumbersome ways you can compute 5!, the code presented will not compute an arbitrary factorial. For example, it computes 0! = 0, when in fact it's 1.
Furthermore, a factorial can be properly computed with an ordinary while loop with the same body and condition, which is used in the while loop article. Using the exact same body and condition in both articles, even if it happened to compute correctly both times, neglects to showcase the functional difference between the while and the do-while loop. Then, there is little point in having an example at all in the do-while article. 93.138.174.125 (talk) 03:47, 20 November 2020 (UTC)
replies: text: I agree we need to choose a better example. PythonicWikier (talk) 19:55, 19 November 2023 (UTC)
thread_title:  The example is both wrong and fails to teach a lesson