non zero values in array
In the editor press F1 and look for the array-description and start reading ...
Magaiver: I need to sum every array member, that is not equal to zero with other erlier non zero array member. How should i do that?
|
|
Magaiver:
Simply add them all together
So i have an array, with values equal 0 or equal closing price. I need to get all values with their indexes from this array, that are not equal to zero and do math equations with them.
For eaxample: I have Buffer named Array[], and I need to sum every array member, that is not equal to zero with other erlier non zero array member. How should i do that?
So i have an array, with values equal 0 or equal closing price. I need to get all values with their indexes from this array, that are not equal to zero and do math equations with them.
For eaxample: I have Buffer named Array[], and I need to sum every array member, that is not equal to zero with other erlier non zero array member. How should i do that?