Learning Squeak

Philippe de Rochambeau pr1 at club-internet.fr
Thu Jan 22 16:36:14 UTC 1998


I am attempting to learn how to use Squeak with the help of Patrick Henry
Winston's book on SmallTalk. However, I am stuck on page 24 since I can't
figure out how to create an Integer method:

fatToCalories
	"blablabla"
	^ self * 9


How do you create an Integer method without creating instances?

Many thanks.

Philippe de Rochambeau





More information about the Squeak-dev mailing list