catflap.org Online Dictionary Query |
6 definitions found
From The Free On-line Dictionary of Computing (27 SEP 03) : [ foldoc ]
for loop
A loop construct found in many imperative
programming languages which repeatedly executes some
instructions while a condition is true.
In C, the for loop is written in the form;
for (INITIALISATION; CONDITION; AFTER)
STATEMENT;
where INITIALISATION is an expression that is evaluated once
before the loop, CONDITION is evaluated before each iteration
and the loop exits if it is false, AFTER is evaluated after
each iteration, and STATEMENT is any statement including a
compound+statement+within+braces+"{.." rel="nofollow">compound statement within braces "{.." that is executed if
CONDITION is true.
For example:
int i;
for (i = 0; i < 10; i++)
{
printf("Hello\n");
prints "Hello" 10 times.
The for loop is an alternative way of writing a while loop
that is convenient because the loop control logic is collected
in a single place. It is also closely related to the repeat
loop.
(1999-07-07)
From English Wiktionary: All languages (2023-07-27) : [ dictinfo.com:wikt-en-ALL-2023-07-27 ]
for loop
n.
(lb en 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.
From English Wiktionary: English language only (2023-07-27) : [ dictinfo.com:wikt-en-en-2023-07-27 ]
for loop
n.
(lb en 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.
From English Wiktionary: Western, Greek, and Slavonic languages only (2023-07-27) : [ dictinfo.com:wikt-en-Western_Greek_Slavonic-2023-07-27 ]
for loop
n.
(lb en 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.
From English Wiktionary: Western languages only (2023-07-27) : [ dictinfo.com:wikt-en-Western-2023-07-27 ]
for loop
n.
(lb en 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.
From English - German Ding/FreeDict dictionary ver. 1.9-fd1 : [ freedict:eng-deu ]
FOR loop /fɔː lˈuːp/
Zählschleife [comp.]
Questions or comments about this site? Contact dictionary@catflap.org
Access Stats