in reply to Re^3: Pure variable confusion!
in thread Pure variable confusion!

That was my confusion. I calculated the average outside of the subroutine and I didn't know how to utilize it within it.

Thanks for your help!