TVecInt.BlockFinish Method

void BlockFinish

Deinitializes block processing before the final block is processed.

Result: stored in self (calling object)

Remarks:

Call this routine before breaking out of a while-loop prematurely. If processing until BlockEnd, this call is not needed.

Vec.BlockInit
While not Vec.BlockEnd do
Begin
    If Vec.Min < 0 then //check some condition, if you need to exit
    begin
      Vec.BlockFinish;  //finish the loop
      Break;  //and break out
    end;
    Vec.BlockNext;
end