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/27 10:15] – added tvcutsem | at:tutorial:objects [2007/07/27 16:31] – * tvcutsem | ||
---|---|---|---|
Line 284: | Line 284: | ||
</ | </ | ||
- | The rationale is that '' | + | The rationale is that '' |
< | < | ||
Line 291: | Line 291: | ||
</ | </ | ||
- | When explicitly // | + | When explicitly // |
==== UAP and Assignment ==== | ==== UAP and Assignment ==== | ||
Line 317: | Line 317: | ||
// and a mutator method seconds: | // and a mutator method seconds: | ||
- | def minutes() { (seconds / 60) }; | + | def minutes() { seconds / 60 }; |
- | def hours() | + | def hours() |
def minutes: | def minutes: | ||
Line 334: | Line 334: | ||
>> 3600 | >> 3600 | ||
> time.seconds := 180 | > time.seconds := 180 | ||
+ | >> 180 | ||
> time.minutes | > time.minutes | ||
>> 2 | >> 2 |
at/tutorial/objects.txt · Last modified: 2013/05/17 20:23 by tvcutsem