Modula vs Java MODULE Show; CONST PI = 3.141592653589793238; TYPE PointRc = RECORD x,y : INTEGER; speed : REAL; angle : REAL; END; VAR a,b : PointRc; BEGIN a.x := 0; a.y := 0; a.speed := 12.5; a.angle := PI/2; b.x := 100; b.y := 150; b.speed := 5.0; b.angle := 3*PI/4; END Show.
{}