PureBytes Links
Trading Reference Links
|
> Arrays: SLow[1](0), SHigh[1](0);
You are only providing one slot in your arrays.... the [1].
If you want to save 2 values, all initialized to a value of 0, it would
be:
Array: SLow[2](0);
You would reference the 2 values with SLow[0] and SLow[1].
To save 100 values, all initialized to a value of 10, it would be:
Array: SLow[100](10);
You would reference the 100 values with SLow[0], SLow[1], ..., SLow[99].
--
Dennis
|