var in pascal function code example
Example: function in pascal
function Addition(a, b : integer) : integer;
begin
result := a + b
end;
//Addition(2, 5) is equal to 7
function Addition(a, b : integer) : integer;
begin
result := a + b
end;
//Addition(2, 5) is equal to 7