while


Also found in: Dictionary, Thesaurus, Legal, Idioms, Wikipedia.

while

(programming)
The loop construct found in nearly all procedural languages which 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 (<expr>) <statement>;

where <expr> is any expression and <statement> is any statement, including a compound statement within braces "..".
Mentioned in ?
References in periodicals archive ?
Shilling stands out because it challenges the idea of what a brewpub in Scotland should be, while still reflecting its context and location--albeit in subtle ways.
2%, whiles in international transport the number of passenger-kilometres decreased by 6.
This is the latest in a series of collaborations between CH2M and Jestico + Whiles.
Molly Bloom's daughter Milly is depicted working for a local photographer, while in Stephen Hero the protagonist whiles away some time counting the buttons in the barmaid's blouse at the Greville Arms hotel.
While access to VistA's source code is free, any hospital organization seeking to implement commercialized VistA will need assistance from one of the vendors supporting that software.
WAIT A WHILE, champion three-year-old filly for 2006, makes her return to racing today at Gulfstream Park in the Grade 3 Honey Fox Handicap over 1m 1/2 f on turf, writes Dan Farley.
While such unseemly and self-congratulatory attempts at partisan indoctrination may not qualify as child abuse in the same way that Palestinian parents dressing their kids up as suicide bombers does, there is something stomach-turning about it all.
While Linklater built an astonishing fin-de-siecle story around the last day of school in a small Texas town in 1976, Burns quite deliberately builds nothing; or anyway, nothing much.
The reception desk, which is a heavy monolithic block of stone set with writing blocks of stacked glass, seems to hover on a cushion of light; while the architects' reinterpretation of the grand staircase appears weightless, with wide stone treads enclosed by slender balustrading and diaphanous etched glass walls.
It has instant appeal, throwing you quickly into fast and furious fighting action, while also providing the opportunity for more serious gaming scrappers to refine their fighting style, discover new ways to chain combos and improve their overall skills.
INGLEWOOD -- It took four years and a flashy move by Wait a While to give the American Oaks its first American winner.
It explains the best materials for each job while indulging the senses with fantastic pics of achingly gorgeous homes with incredible swimming pools, spas, hot tub, and Jacuzzis.