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/06/29 08:14] jorgeat:tutorial:objects [2007/06/29 08:27] jorge
Line 46: Line 46:
 </code> </code>
  
-This code shows two messages sent to the ''aPoint'' object defined above in this section. The ''x'' message acts as an accessor for the ''x'' field. The ''sumOfSquares'' message select the ''sumOfSquares'' method evaluates its body.+This code shows two messages sent to the ''aPoint'' object defined above in this section. The ''x'' message acts as an accessor for the ''x'' field. The ''sumOfSquares'' message selects the ''sumOfSquares'' method and evaluates its body.
  
 ===== Cloning and instantiation ===== ===== Cloning and instantiation =====
 +As said before in this section, AmbientTalk objects instantiation is achieved by [[objects#Objects,_fields_and_methods|ex-nihilo creation]] or by cloning an existing object. 
  
  
at/tutorial/objects.txt · Last modified: 2013/05/17 20:23 by tvcutsem