This repository has been archived on 2024-12-25. You can view files and clone it, but cannot push or open issues or pull requests.
2024-03-10 20:32:51 +03:00

26 lines
457 B
ObjectPascal
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Откомпилируйте библиотеку, нажав Ctrl-F9. В папке должен появиться файл MyLib.dll
library MyLib;
const MyPi = 3.14;
function add(a,b: integer): integer;
begin
Result := a + b;
end;
type
Frac = record
num,denom: integer;
constructor (n,d: integer);
begin
num := n;
denom := d;
end;
procedure Print;
begin
writeln(num,'/',denom);
end;
end;
end.