source: liacs/coco/tests/calls/too_many_parameters1.p1@ 212

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