Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Pascal
Function square(x: Integer): Integer;
Begin
  Result := x*x;
End;
function Square (X : Integer) return Integer is
begin
   return X * X;
end Square;

New implementation...
< >
programming-idioms.org