Using Array in a FOR loop
Array in for loop
Given the array definition:
The following expression evaluates into all values of the array:
and can be used anywhere a variable or string can be used.
A simple for loop can iterate through this array one value at a time:
Also note you can do
To create an array with numbers from 1 to 200.
Labels:
Add Comment