> Isn't this the same as creating an array with 10 elements ?
> for (i = 0 ; i < 11; i++) MyArray[i] = 0;

No, ignoring the fact it's actually 11 elements (ie. 0-10). That's
just filling the first 11 elements of the array, it doesn't define the
size of the array. If you tried that on a chart that only had five
bars, you'd get an array overflow error.

> How about two dimensional arrays ?

AFL doesn't directly have two-dimensional arrays, but I did see
something on the AB site once about effectively creating them using
the VarSet and VarGet functions. Looked pretty messy though.

GP


Reply via email to