while ( true )
{
// what is each time through this loop called?
}
|
closed as off topic by Aaronaught, Mark Trapp Jul 27 '11 at 3:28
Questions on Programmers Stack Exchange are expected to relate to software development within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
I would call it an iteration. I don't know if everyone would. |
|||||||||||||||||||
|
|
The code inside: body An execution of the body: iteration |
|||||
|
|
The usual term is a "pass". For example: "This code makes ten passes through the loop. On each pass it computes a local maximum. The best result so far was found during the previous pass and it will be improved this pass." |
|||||||||||
|
|
These days, "iteration" has become the most common general usage. While "pass" has indeed been used, and is still occasionally seen, it is generally semantically bound more to the transfer of values and references as arguments to method parameters. |
|||
|
|
