while loop

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English

[edit]

Etymology

[edit]

From the keyword while used in many programming languages for this purpose.

Noun

[edit]
Examples (C++)
while( x<10 ) {
    cout<<x;
    x++;
}

while loop (plural while loops)

  1. (programming) A section of computer code in which an instruction or group of instructions is repeated only while a certain condition continues to be met.

Translations

[edit]

See also

[edit]