for loop

for loop
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

Example (from simple BASIC) - FOR X = 1 to 10; PRINT 1/X; NEXT


Wikipedia foundation.

Игры ⚽ Нужно сделать НИР?

Share the article and excerpts

Direct link
… Do a right-click on the link above
and select “Copy Link”