Bug 42073

GemStone/S 64 Bit

3.0.1, 3.0, 2.4.8, 2.4.7, 2.4.6, 2.4.5.1, 2.4.5, 2.4.4.8, 2.4.4.7, 2.4.4.6, 2.4.4.x, 2.4.x, 2.3.1.7, 2.3.1.6, 2.3.x, 2.2.5.4, 2.2.5.x, older versions

3.1

to:by:do: does not disallow stepvalue of 0

The method Number >> to:by:do: iterates a block as specified by the receiver, argument, and the step value. A step value of 0 is not disallowed, so if the step value is 0, the block is evaluated infinitely with the initial argument.


Last updated: 8/12/14