next Function

public function next(next_count) result(valid)

Provide the next value for all counters

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: next_count(N)

Counters values

Return Value logical

True as long as there is no counter overflow