Basic Syntax

for Statement

English

Overview

A control construct that repeats processing a specified number of times.

Details

An iteration construct that packs an initializer, condition, and update expression into one line, commonly used when the number of repetitions is known up front.

More Programming terms