Home Segments Index Top Previous Next

563: Mainline

You use the definition of + provided in Segment 554 to add together two weights, as in the expression 3gm + 2gm.

To illustrate Smalltalk's debugging capabilities, suppose that you intentionally omit the second gm message:

3gm + 2 

You attempt to evaluate the expression by selecting it and clicking right > Show It; you see a walkback window: