[Newbies] Adding method to Smallinteger class
noobie
pntball650 at aol.com
Fri Apr 23 20:25:32 UTC 2010
Hello, I literally just installed squeak about an hour ago. After looking at
some tutorials and playing around I have a basic understanding of the
environment. Im now trying to figure out how to add a method to the
smallinteger class. I have found some examples but they are a little too
complex for me to understand.....sorrry im being dumb...... the method I
would like to add would be called larger and would return larger of receiver
and parameter. Could someone please walk me through this step by step.
for example.
10 larger: 6
evaluates to 10
thanks for your help in advance.
--
View this message in context: http://forum.world.st/Adding-method-to-Smallinteger-class-tp2062877p2062877.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
More information about the Beginners
mailing list