at:tutorial:basic
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
at:tutorial:basic [2007/04/06 08:25] – Adding elisag | at:tutorial:basic [2007/04/06 08:26] – elisag | ||
---|---|---|---|
Line 163: | Line 163: | ||
This example also illustrates how a function can make public some of its local fields or functions by returning them as its return value. The get and set could be then passed as arguments to other functions such as // | This example also illustrates how a function can make public some of its local fields or functions by returning them as its return value. The get and set could be then passed as arguments to other functions such as // | ||
- | |||
- | |||
- | |||
===== Blocks ===== | ===== Blocks ===== | ||
Line 196: | Line 193: | ||
>>3 | >>3 | ||
</ | </ | ||
- | Keywords | + | |
+ | ===== Keywords | ||
AmbientTalk supports keyword messages. We have already seen some examples of keyword messages in the previous sections such as the foreach structure. In AmbientTalk keywords are transformed by the parser into functions in the form: | AmbientTalk supports keyword messages. We have already seen some examples of keyword messages in the previous sections such as the foreach structure. In AmbientTalk keywords are transformed by the parser into functions in the form: |
at/tutorial/basic.txt · Last modified: 2020/02/09 22:05 by elisag