CharacterArray.st
changeset 7422 200486204923
parent 7421 4e6c6edb90d9
child 7423 5b25b8e82453
--- a/CharacterArray.st	Wed Jun 18 11:16:43 2003 +0200
+++ b/CharacterArray.st	Wed Jun 18 13:39:04 2003 +0200
@@ -3593,8 +3593,8 @@
 
 asFloat
     "read a float number from the receiver.
-     Notice, that errors may occur during the read, so you better
-     setup some signal handler when using this method."
+     Notice, that errors may occur during the read, 
+     so you better setup some exception handler when using this method."
 
     ^ (Number readFromString:self) asFloat
 
@@ -3602,14 +3602,14 @@
      '0.123' asFloat 
      '12345' asFloat
      '(1/5)' asFloat
-     Object errorSignal handle:[:ex | ex returnWith:0] do:['foo' asFloat] 
+     Object errorSignal handle:[:ex | ex return:0] do:['foo' asFloat] 
     "
 !
 
 asInteger
     "read an integer from the receiver.
-     Notice, that errors may occur during the read, so you better
-     setup some signal handler when using this method."
+     Notice, that errors may occur during the read, 
+     so you better setup some exception handler when using this method."
 
     ^ Integer readFromString:self
 
@@ -3618,7 +3618,7 @@
      '-1234' asInteger
      '0.123' asInteger   <- reader stops at ., returning 0 here
      '0.123' asNumber    <- returns what you expect
-     Object errorSignal handle:[:ex | ex returnWith:0] do:['foo' asInteger] 
+     Object errorSignal handle:[:ex | ex return:0] do:['foo' asInteger] 
     "
 !
 
@@ -6507,7 +6507,7 @@
 !CharacterArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.253 2003-06-18 09:16:43 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.254 2003-06-18 11:39:04 cg Exp $'
 ! !
 
 CharacterArray initialize!