minerman
Member
Hello,
Using LAD, how can I generate an array of 50 numbers and then calculate an average of them?
I don't know how to define an array as a local stat variable. Also, is there an fb that I can use to calculate an average of all the elements in an array?
Edit: I guess I should be more specific with my problem. I am having trouble indirectly accessing an array element. I want to fill the array with numbers, but I can't figure out in LAD, how to go to ARRAY[my_array_element_variable].
Thanks!
Using LAD, how can I generate an array of 50 numbers and then calculate an average of them?
I don't know how to define an array as a local stat variable. Also, is there an fb that I can use to calculate an average of all the elements in an array?
Edit: I guess I should be more specific with my problem. I am having trouble indirectly accessing an array element. I want to fill the array with numbers, but I can't figure out in LAD, how to go to ARRAY[my_array_element_variable].
Thanks!
Last edited: