09-23-2008 06:58 PM
I know lots of threads out there address counters. I am trying to count number of changes for example.
T,T,T,F,F,T,T,T,F,F,F.
This would give give me count of 3. I have done several renditions, but it would give me number of T or number F. I am not sure what would be the best option.
Henry
09-23-2008 07:45 PM - edited 09-23-2008 07:46 PM
Here's one way that should work.
09-23-2008 08:08 PM
Thanks for the quick reply. Unfortunately, I simply get a stream of Boolens and it is not an array. I did something simliar to that. Hm... I wonder if I am missing something. I will give this a try again.
Thanks,
Henry
09-23-2008 11:41 PM
09-25-2008 12:02 PM - edited 09-25-2008 12:03 PM
Here's a faster routine:
Ton
09-25-2008 03:20 PM - edited 09-25-2008 03:22 PM