for loop
English
Etymology
From the keyword FOR
, used in many programming languages for this purpose.
Noun
for loop (plural for loops)
- (programming) 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
- An example of a for loop in BASIC:
FOR X=1 TO 10: PRINT 1/X: NEXT X
.
- An example of a for loop in BASIC:
Translations
section of code
|
|
See also
- do loop
- foreach loop
- while loop