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/07/05 11:19] – elisag | at:tutorial:basic [2007/07/18 11:29] – elisag | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | + | |
- | **This Tutorial is still under heavy construction!!** | + | |
- | </ | + | |
====== Functional and Imperative Programming ====== | ====== Functional and Imperative Programming ====== | ||
Line 227: | Line 225: | ||
def total := a + b; | def total := a + b; | ||
| | ||
- | }; sum(1,2,3) | + | }; |
+ | >>< | ||
+ | >sum(1,2,3) | ||
>>6 | >>6 | ||
</ | </ | ||
Line 401: | Line 401: | ||
>>1 | >>1 | ||
> def [i, j] := [1,3] | > def [i, j] := [1,3] | ||
- | >>>[1, 3] | + | >>[1, 3] |
>{i < j}.whileTrue: | >{i < j}.whileTrue: | ||
1 | 1 |
at/tutorial/basic.txt · Last modified: 2020/02/09 22:05 by elisag