--- a/SequenceableCollection.st Fri Sep 08 18:46:46 1995 +0200
+++ b/SequenceableCollection.st Fri Sep 08 19:38:40 1995 +0200
@@ -21,7 +21,7 @@
COPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
-$Header: /cvs/stx/stx/libbasic/SequenceableCollection.st,v 1.37 1995-09-07 11:59:15 claus Exp $
+$Header: /cvs/stx/stx/libbasic/SequenceableCollection.st,v 1.38 1995-09-08 17:38:17 claus Exp $
'!
!SequenceableCollection class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
version
"
-$Header: /cvs/stx/stx/libbasic/SequenceableCollection.st,v 1.37 1995-09-07 11:59:15 claus Exp $
+$Header: /cvs/stx/stx/libbasic/SequenceableCollection.st,v 1.38 1995-09-08 17:38:17 claus Exp $
"
!
@@ -2193,6 +2193,17 @@
"
!
+from:startIndex do:aBlock
+ "evaluate the argument, aBlock for the elements starting with the
+ element at startIndex to the end."
+
+ ^ self from:startIndex to:self size do:aBlock
+
+ "
+ #(one two three four five six) from:3 do:[:element | Transcript showCr:element]
+ "
+!
+
from:index1 to:index2 reverseDo:aBlock
"evaluate the argument, aBlock for the elements with index index1 to
index2 in the collection. Step in reverse order"