Hi,
How to push into the array
0//Push 0 //Skip 0//skip 0//Skip 0//Skip 1// Push 1//Skip 1//Skip 1//Skip 0 //Push 1 //Push 1 //Skip
If any change from 0 to 1 then push else skip that row.
Sandy: Use the routine I posted earlier, and while looping you create a new array. If the change is from 0 to one you do not include the value