This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-12-29 02:26:04

jurk
Scratcher
Registered: 2010-05-06
Posts: 100+

I need help with squeak!!!!!!!!!!!!!!

can any one tell me how to pick which side you should use the instance side or the class side when defining a method

I really need help  yikes


http://dl.dropbox.com/u/54228408/cool.png

Offline

 

#2 2011-12-29 02:31:10

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: I need help with squeak!!!!!!!!!!!!!!

the class side is like a java static method-you call it by "classname methodname"
a method on the instance side needs to be called "instanceofclass methodname"


http://i.imgur.com/1QqnHxQ.png

Offline

 

#3 2011-12-29 02:46:57

jurk
Scratcher
Registered: 2010-05-06
Posts: 100+

Re: I need help with squeak!!!!!!!!!!!!!!

TRocket wrote:

the class side is like a java static method-you call it by "classname methodname"
a method on the instance side needs to be called "instanceofclass methodname"

sorry I do not know java  sad


http://dl.dropbox.com/u/54228408/cool.png

Offline

 

Board footer