next_set_bit(tick) Returns the next set bit equal to or greater than tick, or -1 if no such bit exists. Marvin Humphrey