help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Character >> #asciiValue:


From: Mike Anderson
Subject: [Help-smalltalk] Character >> #asciiValue:
Date: Sun, 31 Dec 2006 21:49:51 +0000
User-agent: Thunderbird 1.5.0.8 (X11/20061025)

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 ]
 !

reply via email to

[Prev in Thread] Current Thread [Next in Thread]