Meaning of for-løkke | Babel Free
Definitions
for loop
Equivalents
Examples
“Eksempel 6.13 illustrerer skrivning af tegn i en matrix ved hjælp af en indskudt for-løkke.”
Example 6.13 illustrates the printing of characters in a matrix by way of a nested for loop.
“Kender du - eller kan dit script beregne - det antal gange, løkken skal gennemløbes, er det bedst at anvende en for-løkke.”
If you know - or if your script can calculate - the number of times the loop must iterate, it is best to use a for loop.
“De har præcis samme funktion, men for-løkken er mere kompakt og bekvem, når man ønsker at lave en almindelig løkke, der udføres et bestemt antal gange.”
They have precisely the same function, but the for loop is more compact and convenient when one wishes to make an ordinary loop that is executed a definite number of times.
“Selvom en for-løkke godt kan skrives som en while-løkke, er for-løkken alligevel den mest brugte, fordi den er så hurtig at skrive.”
Although a for loop may be written as a while loop, the for loop is nonetheless the most used, because it is so quick to write.
CEFR level
B2
Upper Intermediate
This word is part of the CEFR B2 vocabulary — upper intermediate level.
This word is part of the CEFR B2 vocabulary — upper intermediate level.
See also
Know this word better than we do? Language is a living thing — help us keep it growing. Collaborate with Babel Free