for loop

noun

A section of code in which an instruction or group of instructions is executed a specific number of times depending on the value of a loop counter.

Meanings

nounfor loop (plural for loops)

plural for loops

  1. computingA section of code in which an instruction or group of instructions is executed a specific number of times depending on the value of a loop counter.

Origin

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

Full word history & related roots →

Translations

Danish for-løkke
  • for-løkkesection of code
French boucle for
  • boucle forsection of code
German for-Schleife
  • for-Schleifesection of code
Portuguese for
  • forsection of code
Spanish bucle for
  • bucle forsection of code
Cite this entry
APA

for loop. (n.d.). In WatkinsX Dictionary. Retrieved November 2, 2026, from https://dictionary.watkinsx.com/word/for%20loop

MLA

“for loop.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/for%20loop. Accessed November 2, 2026.

Chicago

WatkinsX Dictionary, s.v. “for loop,” accessed November 2, 2026, https://dictionary.watkinsx.com/word/for%20loop.

Source: for loop on Wiktionary, CC BY-SA 4.0.