Last change
on this file since 146 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:
309 bytes
|
Line | |
---|
1 | program towel;
|
---|
2 |
|
---|
3 | var
|
---|
4 | zaphod,
|
---|
5 | breeblebox,
|
---|
6 | adams: integer;
|
---|
7 |
|
---|
8 | function guide(arthur, ford: integer): integer;
|
---|
9 |
|
---|
10 | begin
|
---|
11 | guide := arthur + ford
|
---|
12 | end;
|
---|
13 |
|
---|
14 | begin
|
---|
15 | { Error:
|
---|
16 | guide: integer x integer -> integer
|
---|
17 | call: integer x integer x integer -> integer }
|
---|
18 | zaphod := guide(zaphod, breeblebox, adams)
|
---|
19 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.