Interval.st
changeset 1290 15ba3221b89b
parent 759 908363ce8a32
child 1422 9a0b792f2953
--- a/Interval.st	Thu Apr 25 18:12:44 1996 +0200
+++ b/Interval.st	Thu Apr 25 18:20:46 1996 +0200
@@ -11,10 +11,10 @@
 "
 
 SequenceableCollection subclass:#Interval
-	 instanceVariableNames:'start stop step'
-	 classVariableNames:''
-	 poolDictionaries:''
-	 category:'Collections-Sequenceable'
+	instanceVariableNames:'start stop step'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Collections-Sequenceable'
 !
 
 !Interval class methodsFor:'documentation'!
@@ -43,19 +43,22 @@
 
     examples:
 
-	(1 to:10) do:[:i | Transcript showCr:i]
+        (1 to:10) do:[:i | Transcript showCr:i]
 
       notice, that this is semantically equivalent to:
 
-	1 to:10 do:[:i | Transcript showCr:i]
+        1 to:10 do:[:i | Transcript showCr:i]
 
       however, the second is preferred, since loops using to:do: are
       much faster and do not create temporary garbage objects. 
       Therefore, Intervals are generally NOT used for this kind of loops.
 
-	(1 to:10) asArray  
+        (1 to:10) asArray  
 
-	(1 to:10 by:2) asOrderedCollection  
+        (1 to:10 by:2) asOrderedCollection  
+
+    [author:]
+        Claus Gittinger
 "
 ! !
 
@@ -290,5 +293,5 @@
 !Interval class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Interval.st,v 1.20 1995-12-15 12:47:33 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Interval.st,v 1.21 1996-04-25 16:15:49 cg Exp $'
 ! !