at:tutorial:basic
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:basic [2007/04/06 08:26] – elisag | at:tutorial:basic [2007/04/06 08:29] – * elisag | ||
---|---|---|---|
Line 198: | Line 198: | ||
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: | ||
+ | < | ||
def foo: arg1 bar: arg2 {...} | def foo: arg1 bar: arg2 {...} | ||
def foo: | def foo: | ||
+ | </ | ||
===== Native Data Types ===== | ===== Native Data Types ===== | ||
Line 253: | Line 253: | ||
>" | >" | ||
>> | >> | ||
- | >" | + | >" |
>> | >> | ||
- | >" | + | >" |
+ | |vowel| vowel.toUpperCase() | ||
+ | } | ||
>>" | >>" | ||
>" | >" | ||
Line 273: | Line 275: | ||
==== Tables ==== | ==== Tables ==== | ||
+ | TODO! | ||
==== Booleans ==== | ==== Booleans ==== |
at/tutorial/basic.txt · Last modified: 2020/02/09 22:05 by elisag