User Tools

Site Tools


at:tutorial:objects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
at:tutorial:objects [2007/07/27 16:28] – * tvcutsemat:tutorial:objects [2007/07/27 16:31] – * tvcutsem
Line 317: Line 317:
   // and a mutator method seconds:=(v)   // and a mutator method seconds:=(v)
  
-  def minutes() { (seconds / 60}; +  def minutes() { seconds / 60 }; 
-  def hours()   (seconds / 3600};+  def hours()   { seconds / 3600 };
  
   def minutes:=(mins) {   def minutes:=(mins) {
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