Home Segments Index Top Previous Next

610: Mainline

Because there are no class methods for the Weight class, you see the following:

!Weight class methods ! ! 

On the other hand, you see several instance methods:

!Weight methods ! 
+ aWeight 
  ^ (self magnitude + aWeight magnitude) gm! 
... 
printOn: aStream 
  aStream nextPutAll: magnitude asString , 'gm'! !