Search here for all the info you want in this Blog

Accessing Array


Accessing Array

You assign data to each of the elements of the array using an index
into the array. Beginning at zero and ending at 10, data can be
assigned to the elements of an array as follows:
A(0) = 256
A(1) = 324
A(2) = 100
. . .
A(10) = 55
Similarly, the data can be retrieved from any element using an
index into the particular array element you want. For example:
. . .
SomeVariable = A(8)
. . .

No comments:

Post a Comment