while
NounOpen English WordNet
the pursuit of pleasure as a matter of ethical principle
Webster's Dictionary (1913)
Origin: AS. hwīl; akin to OS. hwīl, hwīla, OFries. hwīle, D. wigl, G. weile, OHG. wīla, hwīla, hwīl, Icel. hvīla a bed, hvīld rest, Sw. hvila, Dan. hvile, Goth. hweila a time, and probably to L. quietus quiet, and perhaps to Gr. … the proper time of season. √20. Cf. Quiet, Whilom.
1. Space of time, or continued duration, esp. when short; a time; as, one while we thought him innocent. “All this while.” William Shakespeare
This mighty queen may no while endure.— Geoffrey Chaucer
[Some guest that] hath outside his welcome while, And tells the jest without the smile.— Samuel T. Coleridge
I will go forth and breathe the air a while.— Henry W. Longfellow
2. That which requires time; labor; pains. obsolete
Satan... cast him how he might quite her while.— Geoffrey Chaucer
At whiles, at times; at intervals.
And so on us at whiles it falls, to claim Powers that we dread.— Cardinal John Henry Newman
— The while, The whiles, in or during the time that; meantime; while. Alfred Tennyson — Within a while, in a short time; soon. — Worth while, worth the time which it requires; worth the time and pains; hence, worth the expense; as, it is not always worth while for a man to prosecute for small debts.
To cause to pass away pleasantly or without irksomeness or disgust; to spend or pass; — usually followed by away.
The lovely lady whiled the hours away.— Henry W. Longfellow
To loiter. rare The Spectator
1. During the time that; as long as; whilst; at the same time that; as, while I write, you sleep. “While I have time and space.” Geoffrey Chaucer
Use your memory; you will sensibly experience a gradual improvement, while you take care not to overload it.— Isaac Watts
2. Hence, under which circumstances; in which case; though; whereas.
While as, While that, during or at the time that. obsolete
Until; till. Obs. or Prov. Eng. & Scot.
I may be conveyed into your chamber; I'll lie under your bed while midnight.— Francis, & Fletcher, John. Beaumont
Webster’s Revised Unabridged Dictionary (1913), from GCIDE 0.54
Free On-line Dictionary of Computing
<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 (<expr>) <statement>;
where <expr> is any expression and <statement> 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)