If I had a hammer ... I'd hammer in the morning ... Whaaap!
You sure you want that around you nuts?
I like pistachio's, they're cracked already.
So take the code from that page and save it to a file called "average.pbp".
Add a line in your program ...
INCLUDE "average.pbp"
When you get your reading that you want to average ... put it in the variable Value, then GOSUB Average.
The running average will be returned in the same variable (Value).
Now sit back down in your chair before you hurt yourself.
<br>





Bookmarks