Printer Friendly
The Free Dictionary
990,264,016 visitors served.
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

do loop
(redirected from Do while loop)

   Also found in: Wikipedia 0.06 sec.

A high-level programming language structure that repeats instructions based on the results of a comparison. In a DO WHILE loop, the instructions within the loop are performed if the comparison is true. In a DO UNTIL loop, the instructions are bypassed if the comparison is true. The following DO WHILE loop prints 1 through 10 and stops.

   counter = 0
   do while counter < 10
     counter = counter + 1
     ? counter
   enddo


do loop - repeat loop

?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2008 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.