while

(redirected from whiles)
Also found in: Dictionary, Thesaurus, Legal, Idioms.
Related to whiles: they'd, condone, Disenroll, Machinations, impetuosity, exigencies

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 classic literature ?
Sit ye down by the fire, the while, my dear, and warm those mortal cold hands.
said Peggotty, almost cheerfully: bending over him, while her brother and I stood at the bed's foot.
he went on, taking my watch out of my pocket, and turning towards him a ring on my finger, while I recoiled from his touch as if he had been a snake, "a gold 'un and a beauty: that's a gentleman's, I hope
Again he took both my hands and put them to his lips, while my blood ran cold within me.
While I did so, he stood at the table drinking rum and eating biscuit; and when I saw him thus engaged, I saw my convict on the marshes at his meal again.
This reply was made while Gurth was buckling on the, Knight's heels a pair of large gilded spurs, capable of convincing any restive horse that his best safety lay in being conformable to the will of his rider.
Ivanhoe, who had other web to weave than to stand canvassing a palfrey's paces with its owner, lent but a deaf ear to the Prior's grave advices and facetious jests, and having leapt on his mare, and commanded his squire (for such Gurth now called himself) to keep close by his side, he followed the track of the Black Knight into the forest, while the Prior stood at the gate of the convent looking after him, and ejaculating, ``Saint Mary
O Tybalt, love, Tybalt, awake me not yet, Around my soft pillow while softer dreams flit, For what are the joys that in waking we prove, Compared with these visions, O, Tybalt, my love?
Richard looked around, and beheld the jovial Friar on his knees, telling his rosary, while his quarter-staff, which had not been idle during the skirmish, lay on the grass beside him.
Even while these thoughts passed through her brain, he turned to talk to her, and she felt at once that little glow of pleasure which the sound of his voice nearly always evoked.
Never a word passed between us; each set his mouth and kept his eyes in front of him, and lifted up his foot and set it down again, like people lifting weights at a country play;[27] all the while, with the moorfowl crying "peep
Jennings's suggestion; and she could not help believing herself the nicest observer of the two;--she watched his eyes, while Mrs.