#### Using Arrays with For loops

Arrays are commonly used with For loops. The following example creates and then uses the Array [10, 20, 30, ..., 100] using a For loop. See For loops for more details.

    Local NumberVar Array b;
    Redim b[10];
    Local NumberVar i;
    For i := 1 To 10 Do
    (
       b[i] := 10 * i
    );
    b [2] //The formula returns the Number 20

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com