do loop
Transcription
-
- US Pronunciation
- US IPA
-
-
- US Pronunciation
- US IPA
-
Definitions of do loop words
- abbreviation Technical meaning of DO LOOP repeat loop 3
- noun Definition of do loop in Technology (programming) (Or "do loop") A loop construct found in many procedural languages which repeatedly executes some instructions while a condition is true. Repeat loops are found in Perl, Pascal, BASIC and C. The initial keyword may be "repeat" or "do" and the condition may be introduced with a "while" or "until" keyword. In constrast to a while loop, the "loop body" is executed once before the condition is tested. This is useful when the condition depends on the action of the loop body. In the following BASIC loop "Hello" is printed once despite the fact that the condition is false; i = 2 repeat print "Hello" i = i+1 until i>0 See also while loop and for loop. 1
- noun do loop (computing) A section of computer code in which an instruction or group of instructions is executed repeatedly depending on the value of a Boolean condition; either of a for loop or a while loop. 0
Information block about the term
Parts of speech for Do loop
noun
adjective
verb
adverb
pronoun
preposition
conjunction
determiner
exclamation
See also
Matching words
Was this page helpful?
Thank you for your feedback! Tell your friends about this page
Tell us why?