source: liacs/coco/tests/varia/expressions.p0@ 183

Last change on this file since 183 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: 196 bytes
Line 
1program unarplus;
2
3var a,b,c,d,e :integer;
4var f,g,h,i,j :real;
5
6begin
7 a := a - (- a);
8 e := c or b;
9
10 f := g*h;
11 i := a div b; { div on reals }
12 f := b/c { no type problem: coercion }
13end.
Note: See TracBrowser for help on using the repository browser.