in reply to Re: Rolling variable (Update:prime the counts file first!)
in thread Rolling variable

Does not work as expected in my test.

(1) It assumes that the counts file already exists, which it may not.
(2) If the file is there but empty, it doesn't add anything to the file.
(3) It changes all lines to the same value.