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 ?
The General Trunk (GT) Road from Zakori flyover to Chamkani Interchange would have been extending whiles the Road will include eight line asphalt Roads.
They included Sharon Bulman in the javelin and 100m relay, Amy Readman and Lisa Bennett in the discus, Kath Aspin in the 100m relay and Chris Whiles in the high jump.
1 percent, whiles the number of foreign tourists increased by 26.
The Egyptian singer has been looking to break into the international market and is set to play concerts around the States while his wife whiles away her time in fashionable New York.
Published by the Dolmen Press in 1975, the book was inspired by Joyce's visit to Mullingar while his father was engaged in clearing up irregularities in the electoral register for the area in 1900 and 1901.
Corporal Gordon Terry Toal died while acting as a funeral escort in 1982, and officer Scott Stanton Smith suffered fatal injuries when a motor vehicle struck him as he responded to a burglary-in-progress call in 1988.
5% or $5 million from $27 million to $22 million, while Atlantis offered only that its "revenue was down a little under 2009" by 8%t.
They made this announcement while holding a hunger strike in front of Cantt Railway Station here in Peshawar on Monday.
Nonetheless, Simmons, Bryant, and Whiles all say they're very pleased with VistA's overall functionality, while they work to build out the solution in areas such as obstetrics and pediatrics.
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.
Under the accord the MBA and BBA graduates of the University would be exempted from 20% papers while pursuing their Chartered Accountancy Courses.