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 ?
With the latest addition, the Khyber Pakhtunkhwa province, including the newly merged tribal districts, shares 41 of the total 25 cases reported across the country so far this year, while two cases from Sindh, three from Punjab and eight cases reported from Baluchistan.
Meanwhile, the output of jute batching oil increased by 62.88 percent, solvent Naptha by 16.90 percent whiles the production of LPG increased by 38.70 percent.
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.
Sarah Whiles suffered a stressrelated illness before being put into an induced coma earlier this year, but doctors at the Royal Glamorgan Hospital could not diagnose the problem.
In comparison with the same period of 2014, the number of passenger-kilometers in urban transport decreased by 4.5%, in suburban transport by 30.4%, in national transport by 46.2%, whiles in international transport the number of passenger-kilometres decreased by 6.6%.
This is the latest in a series of collaborations between CH2M and Jestico + Whiles. These include design of the University of Southamptons Mountbatten research complex, the University of Manchester National Graphene Institute, and the Australia Institute of Nanoscience at the University of Sydney.
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.
We're not likely to forget the supremely talented Adele while's she's busy being a new mum.
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.
Of the three casinos here, Crystal Palace saw the highest revenue drop, down by 18.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.
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.