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.

17 lines
636 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.

library Addons;
function MoneyMinus12(Количествогроков:int64;Деньги:int64;Отнять:int64): int64;
begin
result := Деньги - Отнять;
end;
function MoneyMinus3(Количествогроков:int64;Деньги:int64;Отнять:int64): int64;
begin
if (Количествогроков=3) or (Количествогроков=4) then result:=Деньги-Отнять;
end;
function MoneyMinus4(Количествогроков:int64;Деньги:int64;Отнять:int64): int64;
begin
if Количествогроков=4 then result:=Деньги-Отнять;
end;
end.