Next: , Up: Interval


1.90.1 Interval class: instance creation

from: startInteger to: stopInteger
Answer an Interval going from startInteger to the stopInteger, with a step of 1


from: startInteger to: stopInteger by: stepInteger
Answer an Interval going from startInteger to the stopInteger, with a step of stepInteger


withAll: aCollection
Answer an Interval containing the same elements as aCollection. Fail if it is not possible to create one.