Answers for "pascal syntax cheat sheet"

0

pascal cheat sheett

procedure increment(var x: integer; by: integer);

  begin
    x := x + by;
  end;
…
var
  n: integer = 4;
begin
  increment(n, 2);   // now n is 6
Posted by: Guest on January-14-2021
0

pascal cheat sheett

function add(x: integer; y: integer): integer;
  begin
    add := x + y;
  end;
Posted by: Guest on January-14-2021

Browse Popular Code Answers by Language