[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help need indicator for running count.



PureBytes Links

Trading Reference Links

At 11:42 AM -0700 12/3/99, Brent wrote:

>Many thanks Bob, it works fine as is if I enter the date of the day after my
>intended date. Is there a way to make it start counting from 0 instead of 1?
>Again the help is greatly appreciated.

I am not exactly sure what you are wanting but try one of the 
combinations below:

Bob Fulks

---------

Version 2
      count = count + 1;
      if  Mod(count,Run) = 1 then begin;

Version 3
      count = count + 1;
      if  Mod(count,Run) = Run - 1 then begin;

Version 4
      if  Mod(count,Run) = 0 then begin;
      count = count + 1;