while loop

Computing Dictionary

while loop definition

programming
The loop construct, found in nearly all procedural languages, that executes one or more instructions (the "loop body") repeatedly so long as some condition evaluates to true. In contrast to a repeat loop, the loop body will not be executed at all if the condition is false on entry to the while.
For example, in C, a while loop is written
while () ;
where is any expression and is any statement, including a compound statement within braces "..".
A for loop, e.g. in the C language, extends the while loop syntax to collect pre-loop initialisation and loop-end logic into the beginning of the statement.
Perl provides the "until" loop that loops until the loop condition is true.
(2009-10-07)

The Free On-line Dictionary of Computing, © Denis Howe 2010 http://foldoc.org
Cite This Source

00:10

00:09

00:08

00:07

00:06

00:05

00:04

00:03

00:02

00:01

While loop is always a great word to know.
So is ort. Does it mean:
a children's mummer's parade, as on the Fourth of July, with prizes for the best costumes.
a scrap or morsel of food left at a meal.
Dictionary.com, LLC. Copyright © 2012. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature