CharArray.st
changeset 326 d2902942491d
parent 308 f04744ef7b5d
child 327 183f094cfd72
--- a/CharArray.st	Sun Apr 02 13:07:58 1995 +0200
+++ b/CharArray.st	Tue Apr 11 16:52:00 1995 +0200
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1994 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/Attic/CharArray.st,v 1.16 1995-03-18 05:03:15 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/CharArray.st,v 1.17 1995-04-11 14:48:32 claus Exp $
 '!
 
 !CharacterArray class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/Attic/CharArray.st,v 1.16 1995-03-18 05:03:15 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/CharArray.st,v 1.17 1995-04-11 14:48:32 claus Exp $
 "
 !
 
@@ -1270,8 +1270,8 @@
 paddedTo:newSize with:padCharacter
     "return a new string consisting of the receivers characters,
      plus pad characters up to length.
-     If the receivers size is larger than the legth argument, it
-     is returned unchanged."
+     If the receivers size is equal or greater than the length argument, 
+     the receiver is returned unchanged."
 
     |s len|
 
@@ -1295,8 +1295,8 @@
     "return a new string of length size, which contains the receiver
      right-adjusted (i.e. padded on the left).
      Characters on the left are filled with padCharacter.
-     If the receivers size is larger than the legth argument, it
-     is returned unchanged."
+     If the receivers size is equal or greater than the length argument, 
+     the receiver is returned unchanged."
 
     |len s|
 
@@ -1323,7 +1323,8 @@
 concatenate:string1 and:string2
     "return the concatenation of myself and the arguments, string1 and string2.
      This is equivalent to self , string1 , string2
-     - generated by compiler when such a construct is detected"
+     - generated by compiler when such a construct is detected and the receiver
+     is known to be a string."
 
     ^ self , string1 , string2
 !
@@ -1331,7 +1332,8 @@
 concatenate:string1 and:string2 and:string3
     "return the concatenation of myself and the string arguments.
      This is equivalent to self , string1 , string2 , string3
-     - generated by compiler when such a construct is detected"
+     - generated by compiler when such a construct is detected and the receiver
+     is known to be a string."
 
     ^ self , string1 , string2 , string3
 ! !