fxm wrote:Presently, only "Integer" is allowed as return type when declaring the operator "Next" for overloading, otherwise:

error 140: Invalid result type for this operator

That's a question I wanted to ask, since I wanted to take profit on some possible cycling out like with normal numeric types. I mean maxvalue+1 = minvalue. Of course with booleans just doing value = not value is sufficent. But your issue with Next recalls me of that.