Last change
on this file since 64 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
227 bytes
|
Line | |
---|
1 | program a;
|
---|
2 |
|
---|
3 | var
|
---|
4 | b: integer;
|
---|
5 |
|
---|
6 | function fac(c: integer): integer;
|
---|
7 |
|
---|
8 | begin
|
---|
9 | if (c = 0) then
|
---|
10 | fac := 1
|
---|
11 | else
|
---|
12 | fac := fac(c-1) * c
|
---|
13 | end;
|
---|
14 |
|
---|
15 | function plus(d,e: integer): integer;
|
---|
16 |
|
---|
17 | begin
|
---|
18 | fac := d+e
|
---|
19 | end;
|
---|
20 |
|
---|
21 | begin
|
---|
22 | b := 3
|
---|
23 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.