Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

The for loop

The for loop sintax is:

where range can be any type of collection. Examples:

it is equivalent to

from C# or Java. You can also use with lists:

or arrays:

The while loop

Iterating over collections:

  • No labels