Character >> #asciiValue:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Character >> #asciiValue:

Mike Anderson-3

Well, I've taken the plunge and moved to 2.3.1 on account of having
problems with sockets in 2.2. Having different problems with the web
server in 2.3; I'll let you know more when I know more.

Mike

--- Builtins.st.orig 2006-12-31 21:05:30.000000000 +0000
+++ Builtins.st 2006-12-31 21:05:49.000000000 +0000
@@ -1924,7 +1924,7 @@
     anInteger isInteger
  ifFalse: [ SystemExceptions.WrongClass signalOn: anInteger mustBe: SmallInteger ].
 
-    ^(self between: 0 and: 127)
+    ^(anInteger between: 0 and: 127)
  ifTrue: [ self value: anInteger ]
  ifFalse: [ SystemExceptions.ArgumentOutOfRange signalOn: anInteger mustBeBetween: 0 and: 127 ]
 !

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk