source: liacs/coco/tests/calls/not_enough_parameters.p1@ 47

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