fpc/tests/test/testop.pp

15 lines
183 B
ObjectPascal

uses
testop1,testop2;
var
a,b,c : op1;
d,e,f : op2;
begin
a.x:=67;a.y:=-45;
b.x:=89;b.y:=23;
c:=a+b;
e.x:=67;e.y:=-45;e.z:=67;
f.x:=89;f.y:=23;f.z:=56;
d:=e+f;
end.