at:tutorial:objects
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:objects [2007/07/10 22:29] – * tvcutsem | at:tutorial:objects [2007/07/18 14:51] – jorge | ||
---|---|---|---|
Line 94: | Line 94: | ||
def z := 0; | def z := 0; | ||
def sumOfSquares() { | def sumOfSquares() { | ||
- | super^sumOfSquares() + z*z | + | super^sumOfSquares() + z*z; |
}; | }; | ||
} | } | ||
Line 181: | Line 181: | ||
A message sent to an object using the '' | A message sent to an object using the '' | ||
- | Of course, the example above is a bit contrived: we could have just assigned '' | + | Of course, the example above is a bit contrived: we could have just assigned '' |
Having described the semantics of '' | Having described the semantics of '' |
at/tutorial/objects.txt · Last modified: 2013/05/17 20:23 by tvcutsem