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/06/27 14:08] – jorge | at:tutorial:objects [2007/06/27 14:23] – jorge | ||
---|---|---|---|
Line 21: | Line 21: | ||
</ | </ | ||
- | As all definitions in AmbientTalk, | + | As all definitions in AmbientTalk, |
This object can be instantiated to create new points as follows: | This object can be instantiated to create new points as follows: | ||
Line 32: | Line 32: | ||
===== Sending messages ===== | ===== Sending messages ===== | ||
- | In AmbientTalk, | + | In AmbientTalk, |
+ | |||
+ | access to | ||
+ | |||
+ | access to the fields and methods of the objects. | ||
Object' | Object' | ||
Line 44: | Line 48: | ||
<note important> | <note important> | ||
- | Note that AmbientTalk supports both traditional canonical syntax (e.g. o.m(a,b,c)) as well as keyworded syntax (e.g. o.at: key put: value) for method definitions and message sends. | + | AmbientTalk supports both traditional canonical syntax (e.g. '' |
</ | </ | ||
at/tutorial/objects.txt · Last modified: 2013/05/17 20:23 by tvcutsem