From Wikipedia, the free encyclopedia.
See While loop for while loops in computing
While is a conjunction meaning "during the time that". An example is:
The days were hot while we were on vacation.
A common error is to use this conjunction to mean "although", "and", "but", or "whereas", as in:
The days were hot while the nights were cool.
Proper English is:
The days were hot, but the nights were cool.